core/libvorbis/PKGBUILD
2016-01-02 04:17:32 +00:00

29 lines
619 B
Bash

pkgname=libvorbis
pkgver=1.3.5
pkgrel=2
pkgdesc='Vorbis codec library'
arch=('x86_64')
url='http://www.xiph.org/vorbis/'
license=('BSD')
depends=('libogg')
provides=('libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so')
source=(http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz)
md5sums=('7220e089f3be3412a2317d6fde9e3944')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make
}
check() {
cd $pkgname-$pkgver
make -j1 check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}