#Maintainer: Juhana 'rexroom' Uuttu #Former Maintainer(s): Johannes Marbach (hennes) pkgname=poedit pkgver=1.4.6.1 pkgrel=1 zenver=64 arch=i686 source=("http://downloads.sourceforge.net/poedit/poedit-$pkgver.tar.gz") sourcetemplate=http://cthulhu.daug.net/zenwalk/$pkgname docs=("authors" "copying" "news" "readme" "todo") url=http://www.poedit.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "poedit - .po files editor" "Poedit is a cross-platform gettext catalogs (.po files) editor. It is" "built with wxWidgets toolkit and can run on any platform supported by" "it (although it was only tested on Unix with GTK+ and Windows). It" "aims to provide a more convenient approach to editing catalogs than" "launching vi and editing the file by hand." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg # .desktop file rm -f $startdir/pkg/usr/share/applications/$pkgname.desktop cat <<- EOF > $startdir/pkg/usr/share/applications/$pkgname.desktop [Desktop Entry] Encoding=UTF-8 Name=Poedit Name[de]=Poedit Name[fr]=Poedit Comment=Gettext catalogs editor Comment[de]=Übersetzungs-Tool Comment[fr]=Outil de traduction MimeType=application/x-po;application/x-gettext;application/x-gettext-translation;text/x-gettext-translation;text/x-po; Exec=poedit Icon=poedit Terminal=false Type=Application Categories=Application;Development;Translation; StartupNotify=true EOF }