# $Id: PKGBUILD 61957 2012-01-11 15:22:20Z stephane $ # Contributor: Andrea Scarpino # Contributor: Giovanni Scafora # Contributor: Alexander Fehr # Maintainer: Daniel J Griffiths 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 }