Date: Tuesday, November 12, 2019 @ 01:16:49 Author: felixonmars Revision: 526874
archrelease: copy trunk to community-staging-x86_64 Added: poedit/repos/community-staging-x86_64/ poedit/repos/community-staging-x86_64/PKGBUILD (from rev 526873, poedit/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: poedit/repos/community-staging-x86_64/PKGBUILD (from rev 526873, poedit/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-11-12 01:16:49 UTC (rev 526874) @@ -0,0 +1,33 @@ +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Alexander Fehr <pizzap...@gmail.com> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> + +pkgname=poedit +epoch=1 +pkgver=2.2.4 +pkgrel=2 +pkgdesc="Cross-platform gettext catalogs (.po files) editor" +arch=('x86_64') +url="https://www.poedit.net/" +license=('MIT') +depends=('gtkspell3' 'lucene++' 'wxgtk3') +makedepends=('boost') +source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-${pkgver}.tar.gz) +sha256sums=('c18ee55fbc03d0a25d8260298a9cc489774140e79fe33ad80fcbc34a97df744a') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix=/usr --libexecdir=/usr/lib/poedit --with-wx-config=/usr/bin/wx-config-gtk3 + make CPPFLAGS+=' -DUCHAR_TYPE=uint16_t' +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}