updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / effectv / PKGBUILD
blob2516cedd95756f5ac556e43ef223b0b1323f15cd
1 # Contributor: Luiz Ribeiro <luizribeiro@gmail.com>
2 # Contributor: Federico Quagliata <ntp@quaqo.org>
4 pkgname=effectv
5 pkgver=0.3.11
6 pkgrel=2
7 pkgdesc="EffecTV is a real-time video effector. You can watch TV or video through amazing effectors."
8 url="http://effectv.sourceforge.net/"
9 depends=('sdl')
10 makedepends=('nasm')
11 arch=(i686)
12 license=('GPL')
13 source=(http://downloads.sourceforge.net/effectv/effectv-$pkgver.tar.gz \
14 timedist.patch trunc_collision.patch)
15 md5sums=('71570b71009df0f1ff53e31de6f50cee' \
16 '0e9a749ecd890fa733fb668359f4d272' '252c36ed4140620995e2dada5a727152')
17 build() {
18         cd $startdir/src/$pkgname-$pkgver
19         # Trunc name collision patch
20         patch -Np0 < $startdir/src/trunc_collision.patch || return 1
21         # Upstream patch
22         patch -Np0 < $startdir/src/timedist.patch || return 1
23         sed -ie 's_/usr/local_/usr_g' config.mk
24         make || return 1
25         mkdir -p $startdir/pkg/usr/bin
26         mkdir -p $startdir/pkg/usr/man/man1
27         make install INSTALL=/bin/install\ -c DESTDIR=$startdir/pkg || return 1