core/libvorbis/PKGBUILD

29 lines
619 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=libvorbis
2018-05-24 05:54:20 +08:00
pkgver=1.3.6
pkgrel=1
2016-01-02 12:17:32 +08:00
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)
2018-05-24 05:54:20 +08:00
md5sums=('d3190649b26572d44cd1e4f553943b31')
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
}