updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / liboggz10 / PKGBUILD
blobfe93ccf5a7952e30e69c3ff61614a009718e113c
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=liboggz10
6 _opkgname=liboggz
7 pkgver=1.0.2
8 pkgrel=1
9 pkgdesc="A simple programming interface for reading and writing Xiph.Org files and streams. 1.0.x branch."
10 arch=('i686' 'x86_64')
11 url="http://www.xiph.org/oggz/"
12 license=('custom:CSIRO')
13 depends=('libogg' 'sh')
14 conflicts=('liboggz')
15 options=('!libtool')
16 source=("http://downloads.xiph.org/releases/$_opkgname/$_opkgname-$pkgver.tar.gz"
17         'compat-symlinks.fix')
18 md5sums=('39368dd201b581cab634da5db6e6b32f'
19          'e44aa5ab6a48a52d0d238bbc751c0ca8')
21 build() {
22   cd "$srcdir/$_opkgname-$pkgver"
23   patch -p0 -i "$srcdir/compat-symlinks.fix"
25   ./configure --prefix=/usr \
26               --enable-static=no
27   make
30 package() {
31   cd "$srcdir/$_opkgname-$pkgver"
33   make DESTDIR="$pkgdir/" install
35   # license
36   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"