[arch-commits] Commit in (4 files)

David Runge dvzrv at archlinux.org
Thu Feb 20 10:37:41 UTC 2020


    Date: Thursday, February 20, 2020 @ 10:37:41
  Author: dvzrv
Revision: 375912

Adding libinstpatch as dependency for fluidsynth.

Added:
  libinstpatch/
  libinstpatch/repos/
  libinstpatch/trunk/
  libinstpatch/trunk/PKGBUILD

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

Added: libinstpatch/trunk/PKGBUILD
===================================================================
--- libinstpatch/trunk/PKGBUILD	                        (rev 0)
+++ libinstpatch/trunk/PKGBUILD	2020-02-20 10:37:41 UTC (rev 375912)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=libinstpatch
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="Instrument file software library"
+arch=('x86_64')
+url="https://github.com/swami/libinstpatch"
+icense=('LGPL2.1')
+depends=('glib2' 'glibc')
+makedepends=('cmake' 'libsndfile' 'python')
+provides=('libinstpatch-1.0.so')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/swami/libinstpatch/archive/v${pkgver}.tar.gz")
+sha512sums=('27d8e5c7bfb2bb98074aac12a3d1017d65598b5fd34e4ae0e7843bb45120509cf8f579078dbbefb2815be39d18b316513121bb870357009b7c814d1677018530')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DLIB_INSTALL_DIR=/usr/lib \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
+}
+
+package() {
+  depends+=('libsndfile.so')
+  cd "$pkgname-$pkgver"
+  make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
+  install -vDm 644 {AUTHORS,ChangeLog,README.md,TODO.tasks} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list