[arch-commits] Commit in speex/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:03:24 UTC 2018


    Date: Friday, November 9, 2018 @ 22:03:24
  Author: felixonmars
Revision: 338641

archrelease: copy trunk to staging-x86_64

Added:
  speex/repos/staging-x86_64/
  speex/repos/staging-x86_64/PKGBUILD
    (from rev 338640, speex/trunk/PKGBUILD)

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

Copied: speex/repos/staging-x86_64/PKGBUILD (from rev 338640, speex/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 22:03:24 UTC (rev 338641)
@@ -0,0 +1,31 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jason Chu <jason at archlinux.org>
+
+pkgname=speex
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="A free codec for free speech"
+arch=(x86_64)
+url="https://speex.org/"
+license=(BSD)
+depends=(libogg speexdsp)
+source=(https://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static \
+    --enable-binaries # Must be given or configure won't use pkg-config correctly
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -k check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list