summaryrefslogtreecommitdiff
path: root/community/frei0r-plugins/PKGBUILD
blob: 3dec10ae0648490a1b52a764376688fdaa980743 (plain)
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
# $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=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')

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/
}