[arch-commits] Commit in libinstpatch/repos (extra-x86_64 extra-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Feb 20 10:40:08 UTC 2020
Date: Thursday, February 20, 2020 @ 10:40:08
Author: dvzrv
Revision: 375914
archrelease: copy trunk to extra-x86_64
Added:
libinstpatch/repos/extra-x86_64/
libinstpatch/repos/extra-x86_64/PKGBUILD
(from rev 375913, libinstpatch/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: libinstpatch/repos/extra-x86_64/PKGBUILD (from rev 375913, libinstpatch/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2020-02-20 10:40:08 UTC (rev 375914)
@@ -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"
+license=('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