[arch-commits] Commit in libopusenc/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 15:30:50 UTC 2020
Date: Tuesday, July 7, 2020 @ 15:30:50
Author: felixonmars
Revision: 658929
archrelease: copy trunk to community-staging-x86_64
Added:
libopusenc/repos/community-staging-x86_64/
libopusenc/repos/community-staging-x86_64/PKGBUILD
(from rev 658928, libopusenc/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libopusenc/repos/community-staging-x86_64/PKGBUILD (from rev 658928, libopusenc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 15:30:50 UTC (rev 658929)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=libopusenc
+pkgver=0.2.1
+pkgrel=2
+pkgdesc="High-level API for encoding .opus files"
+arch=('x86_64')
+url="https://opus-codec.org/"
+license=('BSD')
+depends=('glibc' 'opus')
+options=('staticlibs')
+source=("https://archive.mozilla.org/pub/opus/libopusenc-$pkgver.tar.gz")
+#source=("https://ftp.osuosl.org/pub/xiph/releases/opus/libopusenc-$pkgver.tar.gz")
+sha256sums=('8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix="/usr"
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/libopusenc/COPYING"
+ rm -rf "$pkgdir/usr/share/doc"
+}
More information about the arch-commits
mailing list