Date: Monday, March 25, 2019 @ 22:06:26 Author: arojas Revision: 443505
archrelease: copy trunk to community-staging-x86_64 Added: poedit/repos/community-staging-x86_64/ poedit/repos/community-staging-x86_64/PKGBUILD (from rev 443504, poedit/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: poedit/repos/community-staging-x86_64/PKGBUILD (from rev 443504, poedit/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-25 22:06:26 UTC (rev 443505) @@ -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.1 +pkgrel=2 +pkgdesc="Cross-platform gettext catalogs (.po files) editor" +arch=('x86_64') +url="http://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=('e28267f3225cd69330b201d22dc2e1175e8fa2706ed52ce19ed68db136b3cbe5') + +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 +}