[arch-commits] Commit in tuxpaint/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Thu May 2 11:49:55 UTC 2013
Date: Thursday, May 2, 2013 @ 13:49:54
Author: arodseth
Revision: 89800
Added a prepare() function
Modified:
tuxpaint/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-02 11:20:24 UTC (rev 89799)
+++ PKGBUILD 2013-05-02 11:49:54 UTC (rev 89800)
@@ -6,7 +6,7 @@
pkgname=tuxpaint
pkgver=0.9.21
-pkgrel=8
+pkgrel=9
pkgdesc='Drawing program designed for young children'
arch=('x86_64' 'i686')
url='http://www.tuxpaint.org/'
@@ -22,7 +22,7 @@
sha256sums=('6d4f2b981643b5c937708e5e6cdaf318ae7b5562375327b4b1cb84611e65ede9'
'6d572467fce710c9323ba53bb3309eb7ed1401b4fee2c1f56533e871558a7f20')
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver"
# python2 fix
@@ -34,6 +34,11 @@
sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
setconf src/tuxpaint.desktop Categories 'Game;KidsGame;Graphics;RasterGraphics;'
sed -i 's:# fu:fu:' src/tuxpaint.conf
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
make PREFIX=/usr
}
More information about the arch-commits
mailing list