diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-12 03:39:46 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-12 03:39:46 +0000 |
commit | 61e090957dbc6b062f3a1af7eeb0d58478c6657d (patch) | |
tree | 768f076ead75d57e34580da0d78ff9f5afe170fd /community/poedit | |
parent | b8322aaddc0dc6b249457dd19ab7fb246b92c997 (diff) |
Sun Jan 12 03:35:50 UTC 2014
Diffstat (limited to 'community/poedit')
-rw-r--r-- | community/poedit/PKGBUILD | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/community/poedit/PKGBUILD b/community/poedit/PKGBUILD index 5a38e785c..c04d4263e 100644 --- a/community/poedit/PKGBUILD +++ b/community/poedit/PKGBUILD @@ -1,31 +1,35 @@ -# $Id: PKGBUILD 96184 2013-08-21 12:27:48Z spupykin $ +# $Id: PKGBUILD 103800 2014-01-11 20:08:33Z eric $ # 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.3 +pkgrel=1 pkgdesc="Cross-platform gettext catalogs (.po files) editor" arch=('i686' 'x86_64') 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++') +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) +md5sums=('f58be3cee666d3c586a85c26abba7816') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|Wx/filename.h|wx/filename.h|' src/tm/transmem.cpp +} 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" } |