# $Id: PKGBUILD 79531 2010-05-04 09:01:27Z ibiru $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: Timm Preetz <timm@preetz.us> # Contributor: rabyte <rabyte__gmail> pkgname=schroedinger pkgver=1.0.9 pkgrel=1 pkgdesc="An implemenation of the Dirac video codec in ANSI C code" arch=('i686' 'x86_64') url="http://www.diracvideo.org/" license=('GPL2' 'LGPL2' 'MPL' 'MIT') depends=('orc>=0.4.3') makedepends=('pkgconfig') options=(!libtool) source=(http://www.diracvideo.org/download/schroedinger/$pkgname-$pkgver.tar.gz) md5sums=('d67ec48b7c506db8c8b49156bf409e60') build() { cd $srcdir/$pkgname-$pkgver export LDFLAGS="${LDFLAGS//-Wl,--as-needed}" ./configure --prefix=/usr make || return 1 make DESTDIR=$pkgdir install install -m644 -D COPYING.MIT $pkgdir/usr/share/licenses/$pkgname/COPYING.MIT }