2 pkgname=lib32-libvorbis
5 pkgdesc='Vorbis codec library (32-bit)'
7 url='https://www.xiph.org/ogg/vorbis/'
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')
15 cd libvorbis-${pkgver}
19 export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
23 --libdir='/usr/lib32' \
29 cd libvorbis-${pkgver}
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"