mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
30 lines
841 B
Bash
30 lines
841 B
Bash
# Maintainer: Tobias Kieslich <tobias@archlinux.org>
|
|
# Contributor: dorphell <dorphell@archlinux.org>
|
|
# Contributor: John Proctor <jproctor@prium.net>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - remove Arch's CFLAGS replacement, doesn't work with our flags
|
|
|
|
pkgname=libvorbis
|
|
pkgver=1.3.4
|
|
pkgrel=1
|
|
pkgdesc="Vorbis codec library"
|
|
arch=('i686' 'x86_64')
|
|
license=('BSD')
|
|
url="http://www.xiph.org/vorbis/"
|
|
depends=('libogg')
|
|
options=('!libtool')
|
|
source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('8851c593a52d1ef9c526d95174873852')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|