core/libvorbis/PKGBUILD

29 lines
619 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=libvorbis
2015-12-20 23:14:17 +08:00
pkgver=1.3.5
2016-01-02 12:17:32 +08:00
pkgrel=2
pkgdesc='Vorbis codec library'
arch=('x86_64')
2016-01-02 12:17:32 +08:00
url='http://www.xiph.org/vorbis/'
license=('BSD')
2010-05-17 15:50:50 +08:00
depends=('libogg')
2016-01-02 12:17:32 +08:00
provides=('libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so')
source=(http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz)
2015-12-20 23:14:17 +08:00
md5sums=('7220e089f3be3412a2317d6fde9e3944')
2010-03-14 23:48:48 +08:00
build() {
2016-01-02 12:17:32 +08:00
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make
2010-05-17 15:50:50 +08:00
}
2015-01-08 07:30:12 +08:00
check() {
2016-01-02 12:17:32 +08:00
cd $pkgname-$pkgver
2015-01-08 07:30:12 +08:00
make -j1 check
}
2010-05-17 15:50:50 +08:00
package() {
2016-01-02 12:17:32 +08:00
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2010-03-14 23:48:48 +08:00
}