public
Created

  • Download Gist
stopmotion-PKGBUILD.patch
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
diff --git a/stopmotion/PKGBUILD b/stopmotion/PKGBUILD
index aee9851..0e91e7a 100644
--- a/stopmotion/PKGBUILD
+++ b/stopmotion/PKGBUILD
@@ -1,14 +1,13 @@
# Contributor: Mark Grimes <mark_aur@peculier.com>
+# Contributor: Tom Vincent <http://tlvince.com/contact/>
pkgname=stopmotion
pkgver=0.6.2
pkgrel=1
-arch=('i686')
+arch=('i686' 'x86_64')
pkgdesc="Stop motion animation creation program"
url="http://stopmotion.bjoernen.com"
license=('GPL')
-# conflicts=()
-# replaces=()
makedepends=('pkgconfig')
depends=('qt' 'libtar' 'sdl_image' 'libxml2' 'libvorbis' 'fam' 'inotify-tools')
source=(http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/project_management/webpage/releases/$pkgname-$pkgver.tar.gz)
@@ -18,14 +17,23 @@ _qt4profile=/etc/profile.d/qt4.sh
build() {
[ -e $_qt4profile ] && . $_qt4profile
- cd $startdir/src/$pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --with-html-dir=/usr/share/$pkgname/html
- make || return 1
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make prefix=$startdir/pkg install
# Makefile doesn't seem to install the man file
gzip ${pkgname}.1
- mkdir -p $startdir/pkg/usr/share/man/man1 || return 1
+ mkdir -p $startdir/pkg/usr/share/man/man1
install -m 644 -p ${pkgname}.1.gz $startdir/pkg/usr/share/man/man1
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.