[arch-commits] Commit in infamousplugins/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Apr 28 19:22:00 UTC 2020
Date: Tuesday, April 28, 2020 @ 19:22:00
Author: dvzrv
Revision: 622082
upgpkg: infamousplugins 0.3.0-2: Rebuilding for lv2 1.18.0 (with upstreamed patch).
Modified:
infamousplugins/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-28 19:01:49 UTC (rev 622081)
+++ PKGBUILD 2020-04-28 19:22:00 UTC (rev 622082)
@@ -1,8 +1,9 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
_name=infamousPlugins
pkgname=infamousplugins
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="A collection of open-source LV2 plugins"
arch=('x86_64')
url="https://ssj71.github.io/infamousPlugins/"
@@ -10,26 +11,29 @@
groups=('lv2-plugins' 'pro-audio')
depends=('fftw' 'ntk' 'zita-resampler')
makedepends=('cmake' 'lv2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ssj71/${_name}/archive/v${pkgver}.tar.gz")
-sha512sums=('54a691bd5a1e0d5274c74d3de3c1dc77c6998bd588a315b6b39de67a78651c6fcb412c527b7a6083666b2ba8aad39e3b32b6efbd6bb12c96653ddbe76524dbbb')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ssj71/${_name}/archive/v${pkgver}.tar.gz"
+ "${pkgname}-0.3.0-lv2-1.18.0.patch::https://github.com/ssj71/infamousPlugins/pull/39/commits/06dd967b4736ea886dc1dc07f882cb1563961582.patch")
+sha512sums=('54a691bd5a1e0d5274c74d3de3c1dc77c6998bd588a315b6b39de67a78651c6fcb412c527b7a6083666b2ba8aad39e3b32b6efbd6bb12c96653ddbe76524dbbb'
+ 'a61d53f51950b5c0e8ccc37734fee5cf96f6abb6c9bdbfa34e06bce3806aad94a896e152754ddc92d600691b1240f4ef5dcb5fec85552b9adf01de0c5eae1db1')
prepare() {
mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
- mkdir -v build
+ patch -Np1 -i "../${pkgname}-0.3.0-lv2-1.18.0.patch"
}
build() {
- cd "$pkgname-$pkgver/build"
+ cd "$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
- ..
- make
+ -Bbuild\
+ -S .
+ make VERBOSE=1 -C build
}
package() {
- cd "$pkgname-$pkgver/build"
- make DESTDIR="$pkgdir/" install
- install -vDm 644 ../{CHANGELOG,README} \
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install -C build
+ install -vDm 644 {CHANGELOG,README} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"
}
More information about the arch-commits
mailing list