diff options
Diffstat (limited to 'community/poedit/PKGBUILD')
-rw-r--r-- | community/poedit/PKGBUILD | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/community/poedit/PKGBUILD b/community/poedit/PKGBUILD index 3c3858870..a9c7f4b2a 100644 --- a/community/poedit/PKGBUILD +++ b/community/poedit/PKGBUILD @@ -1,31 +1,38 @@ -# $Id: PKGBUILD 96184 2013-08-21 12:27:48Z spupykin $ +# $Id: PKGBUILD 105671 2014-02-13 11:03:29Z spupykin $ # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alexander Fehr <pizzapunk@gmail.com> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=poedit -pkgver=1.5.7 -pkgrel=4 +pkgver=1.6.4 +pkgrel=1 pkgdesc="Cross-platform gettext catalogs (.po files) editor" arch=('i686' 'x86_64' 'mips64el') url="http://www.poedit.net/" -license=('custom') -depends=('wxgtk2.9' 'gtkspell' 'db' 'hicolor-icon-theme' 'gettext') -makedepends=('pkgconfig' 'boost') +license=('MIT') +depends=('wxgtk' 'desktop-file-utils' 'lucene++' 'gtkspell') +makedepends=('boost' 'libsm') install=poedit.install -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('f5b53ec66a606f088b0aa388595ea5f9') +#source=(http://www.poedit.net/dl/poedit-$pkgver.tar.gz) +source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-$pkgver.tar.gz + build-fix.patch) +md5sums=('203e27826c1baa4de403ce6d1cc60444' + '724aed37a6760c8ac9405f9ee4b70c05') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 <$srcdir/build-fix.patch +} build() { - cd ${srcdir}/${pkgname}-${pkgver} - export WX_CONFIG_PATH=/usr/bin/wx-config-2.9 - ./configure --prefix=/usr + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --libexecdir=/usr/lib/poedit make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |