updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / stopmotion / PKGBUILD
blob03a4831abf895b4628c2a2fc5fc4f3d8293319c5
1 # Contributor: Mark Grimes <mark_aur@peculier.com>
2 # Contributor: Tom Vincent <http://tlvince.com/contact/>
4 pkgname=stopmotion
5 pkgver=0.6.2
6 pkgrel=2
7 arch=('i686' 'x86_64')
8 pkgdesc="Stop motion animation creation program"
9 url="http://stopmotion.bjoernen.com"
10 license=('GPL')
11 makedepends=('pkgconfig')
12 depends=('qt' 'libtar' 'sdl_image' 'libxml2' 'libvorbis' 'fam' 'inotify-tools'
13          'libx11')
14 source=(http://developer.skolelinux.no/info/studentgrupper/2005-hig-stopmotion/project_management/webpage/releases/$pkgname-$pkgver.tar.gz
15         add-x11-lib.patch)
16 md5sums=('a139f036286f31bba21effb2b6553d1e'
17          'e8943488fec6994aee11ac9f25d04d45')
19 _qt4profile=/etc/profile.d/qt4.sh
21 build() {
22     [ -e $_qt4profile ] && . $_qt4profile
23     cd "$srcdir/$pkgname-$pkgver"
25     patch -p1 < "${srcdir}/add-x11-lib.patch"
26     ./configure --prefix=/usr --with-html-dir=/usr/share/$pkgname/html
27     make -j1
30 check() {
31     cd "$srcdir/$pkgname-$pkgver"
32     make -k check
35 package() {
36     cd "$srcdir/$pkgname-$pkgver"
37     make prefix=$startdir/pkg install
39     # Makefile doesn't seem to install the man file
40     gzip ${pkgname}.1
41     mkdir -p $startdir/pkg/usr/share/man/man1
42     install -m 644 -p ${pkgname}.1.gz $startdir/pkg/usr/share/man/man1