PKGBUILDs/extra/libvorbis/PKGBUILD

31 lines
841 B
Bash
Raw Normal View History

2011-06-15 02:22:07 +00:00
# Maintainer: Tobias Kieslich <tobias@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
2012-02-08 15:27:50 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2011-06-15 02:22:07 +00:00
# - remove Arch's CFLAGS replacement, doesn't work with our flags
pkgname=libvorbis
2014-01-24 15:53:38 +00:00
pkgver=1.3.4
2011-06-15 02:22:07 +00:00
pkgrel=1
pkgdesc="Vorbis codec library"
arch=('i686' 'x86_64')
2012-02-08 15:27:50 +00:00
license=('BSD')
url="http://www.xiph.org/vorbis/"
2011-06-15 02:22:07 +00:00
depends=('libogg')
options=('!libtool')
source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz)
2014-01-24 15:53:38 +00:00
md5sums=('8851c593a52d1ef9c526d95174873852')
2011-06-15 02:22:07 +00:00
build() {
2012-02-08 15:27:50 +00:00
cd "${srcdir}/${pkgname}-${pkgver}"
2014-01-24 15:53:38 +00:00
./configure --prefix=/usr --disable-static
2011-06-15 02:22:07 +00:00
make
}
package() {
2012-02-08 15:27:50 +00:00
cd "${srcdir}/${pkgname}-${pkgver}"
2011-06-15 02:22:07 +00:00
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}