[arch-commits] Commit in libopusenc/repos (community-x86_64 community-x86_64/PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Sep 19 11:00:04 UTC 2018


    Date: Wednesday, September 19, 2018 @ 11:00:04
  Author: kkeen
Revision: 383377

archrelease: copy trunk to community-x86_64

Added:
  libopusenc/repos/community-x86_64/
  libopusenc/repos/community-x86_64/PKGBUILD
    (from rev 383376, libopusenc/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: libopusenc/repos/community-x86_64/PKGBUILD (from rev 383376, libopusenc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-09-19 11:00:04 UTC (rev 383377)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=libopusenc
+pkgver=0.2
+pkgrel=1
+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=('c79e95eeee43a0b965e9b2c59a243763a8f8b0a7e71441df2aa9084f6171c73a')
+
+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