mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 14:07:13 +08:00
29 lines
619 B
Bash
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"
|
|
}
|