blob: b42aaa6b66f339482d7c061d39b956e69dae9b39 (
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
|
# $Id: PKGBUILD 80639 2010-05-20 16:07:01Z ibiru $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=libogg
pkgver=1.2.0
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.xiph.org/ogg/"
license=('BSD')
depends=('glibc')
options=('!libtool')
source=(http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz)
md5sums=('c95b73759acfc30712beef6ce4e88efa')
build() {
cd $srcdir/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd $srcdir/${pkgname}-${pkgver}
make DESTDIR=$pkgdir install || return 1
# install BSD license
install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING
}
|