diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/poedit | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/poedit')
-rw-r--r-- | community/poedit/PKGBUILD | 31 | ||||
-rw-r--r-- | community/poedit/poedit.install | 12 |
2 files changed, 43 insertions, 0 deletions
diff --git a/community/poedit/PKGBUILD b/community/poedit/PKGBUILD new file mode 100644 index 000000000..ea6fa780e --- /dev/null +++ b/community/poedit/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 87572 2013-04-03 10:14:55Z 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.5 +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>=5.1' 'hicolor-icon-theme' 'gettext') +makedepends=('pkgconfig' 'boost') +install=poedit.install +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('da86cb73cee9d006a42f9574811d13ab') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + export WX_CONFIG_PATH=/usr/bin/wx-config-2.9 + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/community/poedit/poedit.install b/community/poedit/poedit.install new file mode 100644 index 000000000..bce670aff --- /dev/null +++ b/community/poedit/poedit.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |