From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/poedit/PKGBUILD | 30 ++++++++++++++++++++++++++++++ community/poedit/poedit.install | 11 +++++++++++ 2 files changed, 41 insertions(+) create mode 100644 community/poedit/PKGBUILD create mode 100644 community/poedit/poedit.install (limited to 'community/poedit') diff --git a/community/poedit/PKGBUILD b/community/poedit/PKGBUILD new file mode 100644 index 000000000..4ee76514e --- /dev/null +++ b/community/poedit/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 34005 2010-11-30 20:55:18Z lcarlier $ +# Contributor: Andrea Scarpino +# Contributor: Giovanni Scafora +# Contributor: Alexander Fehr +# Maintainer: Daniel J Griffiths + +pkgname=poedit +pkgver=1.4.6.1 +pkgrel=4 +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/poedit/poedit.install b/community/poedit/poedit.install new file mode 100644 index 000000000..21b79d2d4 --- /dev/null +++ b/community/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 +} -- cgit v1.2.3-54-g00ecf