#Maintainer: George Vlahavas pkgname=poedit pkgver=1.4.6.1 pkgrel=1gv source=("http://prdownloads.sourceforge.net/poedit/poedit-$pkgver.tar.gz" "poedit-1.4.6.1-destdir.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.poedit.net slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "poedit (cross-platform gettext catalogs (.po files) editor)" "Poedit aims to provide more convenient approach to editing catalogs" "than launching vi and editing the file by hand." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/poedit-1.4.6.1-destdir.patch || exit 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg sed -i "s/.png//" $startdir/pkg/usr/share/applications/poedit.desktop }