upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / lib32-libvorbis / trunk / PKGBUILD
blobb1143158fd83673039ba135c6a5e9e4db3aaf1f2
2 pkgname=lib32-libvorbis
3 pkgver=1.3.7
4 pkgrel=1
5 pkgdesc='Vorbis codec library (32-bit)'
6 arch=('x86_64')
7 url='https://www.xiph.org/ogg/vorbis/'
8 license=('BSD')
9 depends=('lib32-libogg' 'libvorbis')
10 provides=('libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
11 source=("https://downloads.xiph.org/releases/vorbis/libvorbis-${pkgver}.tar.gz")
12 sha256sums=('0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab')
14 build() {
15   cd libvorbis-${pkgver}
17   export CC="gcc -m32"
18   export CXX="g++ -m32"
19   export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
21   ./configure \
22     --prefix='/usr' \
23     --libdir='/usr/lib32' \
24     --disable-static
25   make
28 check() {
29   cd libvorbis-${pkgver}
31   make -j1 check
34 package() {
35   cd libvorbis-${pkgver}
37   make DESTDIR="${pkgdir}" install
39   rm -rf "${pkgdir}"/usr/{include,share,bin}
40   install -d "$pkgdir/usr/share/licenses"
41   ln -s libvorbis "$pkgdir/usr/share/licenses/$pkgname"
44 # vim: ts=2 sw=2 et: