Date: Saturday, December 19, 2020 @ 09:57:57 Author: felixonmars Revision: 779898
archrelease: copy trunk to community-staging-x86_64 Added: poedit/repos/community-staging-x86_64/ poedit/repos/community-staging-x86_64/PKGBUILD (from rev 779897, poedit/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: poedit/repos/community-staging-x86_64/PKGBUILD (from rev 779897, poedit/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-19 09:57:57 UTC (rev 779898) @@ -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.4.1 +pkgrel=4 +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=('70143e55c16a88b9b29f48e12b0b9e55714177b60ba367fc29d5fa6dc28429c3') + +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 +}