Date: Sunday, August 16, 2020 @ 14:20:20 Author: arodseth Revision: 681536
archrelease: copy trunk to community-staging-x86_64 Added: opusfile/repos/community-staging-x86_64/ opusfile/repos/community-staging-x86_64/PKGBUILD (from rev 681535, opusfile/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: opusfile/repos/community-staging-x86_64/PKGBUILD (from rev 681535, opusfile/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-16 14:20:20 UTC (rev 681536) @@ -0,0 +1,29 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: DrZaius <l...@fakeoutdoorsman.com> + +pkgname=opusfile +pkgver=0.12 +pkgrel=1 +pkgdesc='Library for opening, seeking, and decoding .opus files' +arch=(x86_64) +url='https://opus-codec.org/' +license=(BSD) +depends=(libogg openssl opus) +source=("https://downloads.xiph.org/releases/opus/$pkgname-$pkgver.tar.gz") +sha256sums=('118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/opusfile/LICENSE" +} + +# getver: github.com/xiph/opusfile/tags +# vim: ts=2 sw=2 et: