[arch-commits] Commit in linuxsampler/repos (2 files)

David Runge dvzrv at archlinux.org
Mon Jul 29 10:10:14 UTC 2019


    Date: Monday, July 29, 2019 @ 10:10:13
  Author: dvzrv
Revision: 494551

archrelease: copy trunk to community-staging-x86_64

Added:
  linuxsampler/repos/community-staging-x86_64/
  linuxsampler/repos/community-staging-x86_64/PKGBUILD
    (from rev 494550, linuxsampler/trunk/PKGBUILD)

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

Copied: linuxsampler/repos/community-staging-x86_64/PKGBUILD (from rev 494550, linuxsampler/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-07-29 10:10:13 UTC (rev 494551)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: svoufff <svoufff at gmail dot com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+
+pkgname=linuxsampler
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="Professional-grade audio sampler alternative to Gigasampler"
+arch=('x86_64')
+url="https://www.linuxsampler.org/"
+license=('GPL2')
+groups=('pro-audio')
+depends=('libgig' 'jack' 'sqlite')
+makedepends=('ladspa' 'dssi' 'lv2')
+source=("https://download.linuxsampler.org/packages/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('3f172efe40bbe130a2ac09f9393a46a30cc327a6754a80fdb36e65276518ec82befa2075acc567ccd99c22d9859c1a65f58ff2ad7af70cd9e4649ae14fd5357c')
+
+prepare(){
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+  # creating a ld.so.conf entry for linuxsampler.so
+  echo "/usr/lib/${pkgname}" > "${pkgname}.conf"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  # docs
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # adding linuxsampler.so library path to ld.so.conf (required for dependants
+  # during runtime)
+  install -vDm 644 "${pkgname}.conf" -t "${pkgdir}/etc/ld.so.conf.d/"
+  # lscp files conflict with nilfs-utils:
+  # https://bugs.archlinux.org/task/45827
+  mv -v "${pkgdir}/usr/bin/lscp" "${pkgdir}/usr/bin/lscp-${pkgname}"
+  mv -v "$pkgdir/usr/share/man/man1/lscp.1" \
+    "${pkgdir}/usr/share/man/man1/lscp-${pkgname}.1"
+}
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list