summaryrefslogtreecommitdiff
path: root/community/frei0r-plugins/PKGBUILD
blob: da05cb92144e8b667c5cdd05cfa043ad9f6d87ab (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
# $Id: PKGBUILD 42041 2011-03-12 11:30:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=frei0r-plugins
pkgver=1.3
pkgrel=1
pkgdesc="frei0r is a minimalistic plugin API for video sources and filters."
arch=(i686 x86_64 'mips64el')
url="http://www.piksel.org/frei0r"
license=('GPL')
depends=('gcc-libs' 'gavl>=1.0.0' 'opencv')
makedepends=('graphviz')
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
  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
}