diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..225338cd5eaa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by makepkg 4.2.1 +# Thu Sep 17 10:00:03 UTC 2015 +pkgbase = potool + pkgdesc = Program to help editing gettext po files + pkgver = 0.16 + pkgrel = 1 + url = http://http://marcin.owsiany.pl/potool-page + arch = i686 + arch = x86_64 + license = GPL + depends = perl + depends = glib2 + conflicts = potool-renamed + conflicts = poedit + source = http://marcin.owsiany.pl/potool/potool-0.16.tar.gz + sha256sums = 7cf5990f5c60ded21b342b1917731eb75fb12b0762cf639fa9c6f0823d0e08da + +pkgname = potool + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..51d6958bf6b7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Florian Pelz <pelzflorian at pelzflorian.de> +pkgname=potool +pkgver=0.16 +pkgrel=1 +pkgdesc="Program to help editing gettext po files" +arch=('i686' 'x86_64') +url="http://http://marcin.owsiany.pl/potool-page" +license=('GPL') +depends=('perl' 'glib2') +conflicts=('potool-renamed' 'poedit') +source=("http://marcin.owsiany.pl/potool/${pkgname}-${pkgver}.tar.gz") +sha256sums=('7cf5990f5c60ded21b342b1917731eb75fb12b0762cf639fa9c6f0823d0e08da') + +build() { + cd "$pkgname"-"$pkgver" + make +} + +check() { + cd "$pkgname"-"$pkgver" + make check +} + +package() { + cd "$srcdir"/"$pkgname"-"$pkgver" + make DESTDIR="$pkgdir/usr" install + install -Dm644 change-po-charset.1 "$pkgdir"/usr/share/man/man1/change-po-charset.1 + install -Dm644 change-po-charset.pl.1 "$pkgdir"/usr/share/man/pl/man1/change-po-charset.1 + install -Dm644 poedit.1 "$pkgdir"/usr/share/man/man1/poedit.1 + install -Dm644 poedit.pl.1 "$pkgdir"/usr/share/man/pl/man1/poedit.1 + install -Dm644 postats.1 "$pkgdir"/usr/share/man/man1/postats.1 + install -Dm644 postats.pl.1 "$pkgdir"/usr/share/man/pl/man1/postats.1 + install -Dm644 potool.1 "$pkgdir"/usr/share/man/man1/potool.1 + install -Dm644 potool.pl.1 "$pkgdir"/usr/share/man/pl/man1/potool.1 +} |