summaryrefslogtreecommitdiff
path: root/community-testing/poedit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-10 23:15:00 +0000
committerroot <root@rshg054.dnsready.net>2012-01-10 23:15:00 +0000
commitb8012183bbaae70ce4a714c618a967e85df9f521 (patch)
tree1df6f612c4f75faa9f54467e0a856bcdde0b6a1a /community-testing/poedit
parentfdcaf644692e151ddc596b148465ce4a77e6b670 (diff)
Tue Jan 10 23:14:59 UTC 2012
Diffstat (limited to 'community-testing/poedit')
-rw-r--r--community-testing/poedit/PKGBUILD30
-rw-r--r--community-testing/poedit/poedit.install11
2 files changed, 41 insertions, 0 deletions
diff --git a/community-testing/poedit/PKGBUILD b/community-testing/poedit/PKGBUILD
new file mode 100644
index 000000000..59e2358a5
--- /dev/null
+++ b/community-testing/poedit/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 61882 2012-01-09 18:50:15Z stephane $
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk@gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=poedit
+pkgver=1.4.6.1
+pkgrel=6
+pkgdesc="Cross-platform gettext catalogs (.po files) editor"
+arch=('i686' 'x86_64')
+url="http://www.poedit.net/"
+license=('custom')
+depends=('wxgtk>=2.8.11' 'gtkspell' 'db>=5.1' 'hicolor-icon-theme' 'gettext')
+makedepends=('pkgconfig')
+install=poedit.install
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('c63ffd991b1a6085ef356a6922356e0a')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./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-testing/poedit/poedit.install b/community-testing/poedit/poedit.install
new file mode 100644
index 000000000..21b79d2d4
--- /dev/null
+++ b/community-testing/poedit/poedit.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}