summaryrefslogtreecommitdiff
path: root/community/frei0r-plugins/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/frei0r-plugins/PKGBUILD')
-rw-r--r--community/frei0r-plugins/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/frei0r-plugins/PKGBUILD b/community/frei0r-plugins/PKGBUILD
index c4497ef0a..3dec10ae0 100644
--- a/community/frei0r-plugins/PKGBUILD
+++ b/community/frei0r-plugins/PKGBUILD
@@ -1,15 +1,16 @@
-# $Id: PKGBUILD 42041 2011-03-12 11:30:34Z spupykin $
+# $Id: PKGBUILD 51938 2011-07-18 09:49:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=frei0r-plugins
pkgver=1.3
-pkgrel=1
+pkgrel=2
pkgdesc="frei0r is a minimalistic plugin API for video sources and filters."
arch=(i686 x86_64)
url="http://www.piksel.org/frei0r"
license=('GPL')
depends=('gcc-libs' 'gavl>=1.0.0' 'opencv')
makedepends=('graphviz')
+options=('!emptydirs')
source=(http://ftp.dyne.org/frei0r/releases/frei0r-plugins-$pkgver.tar.gz)
md5sums=('a2eb63feeeb0c5cf439ccca276cbf70c')
@@ -17,11 +18,13 @@ build() {
cd "$srcdir/frei0r-$pkgver"
./configure --prefix=/usr --docdir=/usr/share/doc
make
+}
+
+package() {
+ cd "$srcdir/frei0r-$pkgver"
make DESTDIR="$pkgdir" install \
htmldocsdir=$pkgdir/usr/share/doc/frei0r-plugins-$pkgver \
docsdir=$pkgdir/usr/share/doc/frei0r-plugins-$pkgver
-
mkdir -p $pkgdir/usr/share/doc/frei0r-plugins-$pkgver/
mv $pkgdir/$pkgdir/usr/share/doc/frei0r-plugins-$pkgver/* $pkgdir/usr/share/doc/frei0r-plugins-$pkgver/
- rm -rf $pkgdir/home
}