1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
7 pkgdesc="High-level API for encoding .opus files"
9 url="https://opus-codec.org/"
11 depends=('glibc' 'opus')
12 options=('staticlibs')
13 source=("https://archive.mozilla.org/pub/opus/libopusenc-$pkgver.tar.gz")
14 #source=("https://ftp.osuosl.org/pub/xiph/releases/opus/libopusenc-$pkgver.tar.gz")
15 sha256sums=('8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9')
20 CFLAGS+=" -ffat-lto-objects" \
21 ./configure --prefix="/usr"
28 make DESTDIR="$pkgdir" install
30 install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/libopusenc/COPYING"
31 rm -rf "$pkgdir/usr/share/doc"