updated on Sun Jan 8 12:02:35 UTC 2012
[aur-mirror.git] / liboggz / PKGBUILD
blob2a2d257b5e057946585e5674e6b230ab02cf2fb0
1 # Maintainer: Vincent Cappe <vcappe at gmail dot com>
2 # Contributor: Jeff Bailes <thepizzaking at gmail dot com>
3 # Contributor: SpepS <dreamspepser at yahoo dot it>
5 pkgname=liboggz
6 pkgver=1.1.1
7 pkgrel=1
8 pkgdesc="A simple programming interface for reading and writing Xiph.Org files and streams."
9 arch=('i686' 'x86_64')
10 url="http://www.xiph.org/oggz/"
11 license=('custom:CSIRO')
12 depends=('libogg' 'sh')
13 options=('!libtool')
14 source=("http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
15         'compat-symlinks.fix')
16 md5sums=('3649a657f8e368b881ba8b1b57381ff7'
17          'e44aa5ab6a48a52d0d238bbc751c0ca8')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
21   patch -p0 -i "$srcdir/compat-symlinks.fix"
23   ./configure --prefix=/usr \
24               --enable-static=no
25   make
28 package() {
29   cd "$srcdir/$pkgname-$pkgver"
31   make DESTDIR="$pkgdir/" install
33   # license
34   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"