# Maintainer: Natanael Copa pkgname=libvorbis pkgver=1.3.5 pkgrel=3 pkgdesc="Vorbis codec library" url="https://xiph.org/vorbis/" arch="all" license="custom" subpackages="$pkgname-dev $pkgname-doc" makedepends="libogg-dev" source="http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz CVE-2017-14160.patch " builddir="$srcdir/$pkgname-$pkgver" # secfixes: # 1.3.5-r3: # - CVE-2017-14160 build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="6c729a227143abc744a779ec4d4ce9932cd1234e301b766cb5111c3894b7cd866f0267590c7864afd3841ac0d4ae2eb2386e8d14345b7c41c8ce35e996e3656c libvorbis-1.3.5.tar.gz 4c2f7be947f2159ae47175cba89950c7b7d357b37a20d54382e4fbecd8c268b148e6cb86cb148945c7b68bbe8b14f466e910b35b80903ab51f1b02cfccf5806e CVE-2017-14160.patch"