Date: Tuesday, September 18, 2018 @ 02:21:42 Author: foutrelis Revision: 382858
archrelease: copy trunk to community-staging-x86_64 Added: poedit/repos/community-staging-x86_64/ poedit/repos/community-staging-x86_64/PKGBUILD (from rev 382857, poedit/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: poedit/repos/community-staging-x86_64/PKGBUILD (from rev 382857, poedit/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-09-18 02:21:42 UTC (rev 382858) @@ -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.1.1 +pkgrel=3 +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=('6c4639b8e56b6cffd52afc33d9ddf51b6ce2c6ffdf4f4edff8bb3e4c1a343101') + +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 +}