[arch-commits] Commit in tuxpaint/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sat Jan 9 02:18:17 UTC 2016
Date: Saturday, January 9, 2016 @ 03:18:17
Author: arodseth
Revision: 155738
upgpkg: tuxpaint 0.9.22-2
Modified:
tuxpaint/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-08 23:27:47 UTC (rev 155737)
+++ PKGBUILD 2016-01-09 02:18:17 UTC (rev 155738)
@@ -6,7 +6,7 @@
pkgname=tuxpaint
pkgver=0.9.22
-pkgrel=1
+pkgrel=2
pkgdesc='Drawing program designed for young children'
arch=('x86_64' 'i686')
url='http://www.tuxpaint.org/'
@@ -39,14 +39,21 @@
# libpng16 fix
find -name '*.png' -exec optipng -quiet -force -fix {} +
+
+ # bash completion placement
+ setconf Makefile COMPLETIONDIR '$(DESTDIR)/usr/share/bash-completion/completions'
}
build() {
- make -C "$pkgname-$pkgver" PREFIX=/usr
+ cd "$pkgname-$pkgver"
+ make clean
+ make translations -j1
+ make PREFIX=/usr -j1
}
package() {
- make -C "$pkgname-$pkgver" \
+ ls "$pkgname-$pkgver/trans"
+ make -j1 -C "$pkgname-$pkgver" \
PREFIX=/usr \
DESTDIR="$pkgdir" \
GNOME_PREFIX=/usr \
@@ -56,4 +63,5 @@
chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
}
+# getver: tuxpaint.org/download/source
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list