Created
January 4, 2012 00:08
-
-
Save tlvince/1557697 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment