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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:33:20 UTC 2018


    Date: Friday, November 9, 2018 @ 21:33:19
  Author: felixonmars
Revision: 338591

archrelease: copy trunk to staging-x86_64

Added:
  libsamplerate/repos/staging-x86_64/
  libsamplerate/repos/staging-x86_64/PKGBUILD
    (from rev 338589, libsamplerate/trunk/PKGBUILD)

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

Copied: libsamplerate/repos/staging-x86_64/PKGBUILD (from rev 338589, libsamplerate/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 21:33:19 UTC (rev 338591)
@@ -0,0 +1,31 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=libsamplerate
+pkgver=0.1.9
+pkgrel=2
+pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
+arch=('x86_64')
+url="http://www.mega-nerd.com/SRC/index.html"
+license=('BSD')
+depends=('libsndfile')
+source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz)
+sha1sums=('ed60f957a4ff87aa15cbb1f3dbd886fa7e5e9566')
+validpgpkeys=('73571E85C19F4281D8C97AA86CA41A7743B8D6C8')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make 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