mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
32 lines
805 B
Bash
32 lines
805 B
Bash
pkgname=libogg
|
|
pkgver=1.3.2
|
|
pkgrel=2
|
|
pkgdesc="Ogg bitstream and framing library"
|
|
arch=('x86_64')
|
|
url="http://www.xiph.org/ogg/"
|
|
license=('BSD')
|
|
depends=('glibc')
|
|
source=("http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.xz"
|
|
'config_types.h')
|
|
md5sums=('5c3a34309d8b98640827e5d0991a4015'
|
|
'a4d786b1b1955cb85b64fd16cbbee3f9')
|
|
|
|
build() {
|
|
cd $srcdir/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
|
make DESTDIR=$pkgdir install
|
|
|
|
# install BSD license
|
|
install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \
|
|
$pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
|
|
mv "$pkgdir"/usr/include/ogg/config_types{,-64}.h
|
|
install -m 644 "$srcdir/config_types.h" \
|
|
"${pkgdir}/usr/include/ogg/config_types.h"
|
|
}
|