[arch-commits] Commit in linuxsampler/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Dec 19 20:03:16 UTC 2017
Date: Tuesday, December 19, 2017 @ 20:03:15
Author: dvzrv
Revision: 274921
upgpkg: linuxsampler 2.1.0-1
Updating maintainer. Upgrading to 2.1.0. Switching to https for url and source.
Switching to sha512sums. Fixing linking of liblinuxsampler.so.5.0.0. Minor fixes.
Modified:
linuxsampler/trunk/PKGBUILD
----------+
PKGBUILD | 39 ++++++++++++++++++++++-----------------
1 file changed, 22 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-19 20:02:32 UTC (rev 274920)
+++ PKGBUILD 2017-12-19 20:03:15 UTC (rev 274921)
@@ -1,25 +1,25 @@
# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
# Maintainer: 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.0.0
-pkgrel=4
+pkgver=2.1.0
+pkgrel=1
pkgdesc="Professional-grade audio sampler alternative to Gigasampler"
arch=('x86_64')
-url="http://www.linuxsampler.org/"
-license=('GPL' 'custom:exception')
-depends=('libgig>=4' 'jack' 'sqlite')
-makedepends=('ladspa' 'dssi' 'lv2') # ladspa is a header dep of dssi
-options=('libtool') # do NOT slay libtool; required by gigedit
-source=("http://download.linuxsampler.org/packages/$pkgname-$pkgver.tar.bz2"
+url="https://www.linuxsampler.org/"
+license=('GPL2' 'custom:exception')
+depends=('libgig' 'jack' 'sqlite')
+makedepends=('ladspa' 'dssi' 'lv2')
+source=("https://download.linuxsampler.org/packages/${pkgname}-${pkgver}.tar.bz2"
'license.txt')
-md5sums=('ddf4208c9b23f8832ad15c2adf974140'
- '746c1421eb9f6812b5fa411bfb923c75')
+sha512sums=('503db074437b07e3e8dc8d1cb0aa3a510a62d183148157c1a4757681a4319e531bd6a1486a83c0ab9721dde82e27306150f3be87476c9298b2335438670e19a7'
+ '245005dbd182291d9b47c5f22bb14b1d4f42b63d5dd05498521491697fefa9ae8faa3bbc899f4ac4a3ed7dfda3222bb85fc1934705b4cae7108e427f377a78c9')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
@@ -26,19 +26,24 @@
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="${pkgdir}" install
# install GPL exception statement
- install -Dm644 "$srcdir/license.txt" \
- "$pkgdir/usr/share/licenses/$pkgname/GPL-EXCEPTION"
+ install -Dm644 "${srcdir}/license.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/GPL-EXCEPTION"
# lscp files conflict with nilfs-utils
# see https://bugs.archlinux.org/task/45827
- mv "$pkgdir/usr/bin/lscp" "$pkgdir/usr/bin/lscp-linuxsampler"
+ mv "${pkgdir}/usr/bin/lscp" "${pkgdir}/usr/bin/lscp-${pkgname}"
mv "$pkgdir/usr/share/man/man1/lscp.1" \
- "$pkgdir/usr/share/man/man1/lscp-linuxsampler.1"
+ "${pkgdir}/usr/share/man/man1/lscp-${pkgname}.1"
+
+ # fix linking of /usr/lib/linuxsampler/liblinuxsampler.so.5.0.0
+ install -d "${pkgdir}/etc/ld.so.conf.d"
+ echo "/usr/lib/${pkgname}" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
+
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list