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

Felix Yan felixonmars at archlinux.org
Tue May 19 08:17:04 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:17:03
  Author: felixonmars
Revision: 386232

archrelease: copy trunk to staging-x86_64

Added:
  speexdsp/repos/staging-x86_64/
  speexdsp/repos/staging-x86_64/PKGBUILD
    (from rev 386230, speexdsp/trunk/PKGBUILD)

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

Copied: speexdsp/repos/staging-x86_64/PKGBUILD (from rev 386230, speexdsp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:17:03 UTC (rev 386232)
@@ -0,0 +1,33 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=speexdsp
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="DSP library derived from Speex"
+arch=(x86_64)
+url="https://www.speex.org/"
+license=(BSD)
+depends=(glibc)
+source=(https://downloads.us.xiph.org/releases/speex/$pkgname-$pkgver.tar.gz)
+sha512sums=('e357cd5377415ea66c862302c7cf8bf6a10063cacd903f0846478975b87974cf5bdf00e2c6759d8f4f453c4c869cf284e9dc948a84a83d7b2ab96bd5405c05ec')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make -k check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING 
+}


More information about the arch-commits mailing list