Date: Tuesday, March 21, 2023 @ 11:37:13 Author: dvzrv Revision: 1424814
upgpkg: bshapr 0.13-2: Rebuild to re-sign package. Remove unneeded quotes and curly braces. Ignore lv2lint test cases that upstream is unwilling to fix: https://github.com/sjaehn/BShapr/issues/7 Modified: bshapr/trunk/PKGBUILD ----------+ PKGBUILD | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-21 11:35:08 UTC (rev 1424813) +++ PKGBUILD 2023-03-21 11:37:13 UTC (rev 1424814) @@ -4,35 +4,38 @@ _plugin_uri="https://www.jahnichen.de/plugins/lv2/BShapr" pkgname=bshapr pkgver=0.13 -pkgrel=1 +pkgrel=2 pkgdesc="Beat/ envelope shaper LV2 plugin" -arch=('x86_64') +arch=(x86_64) url="https://github.com/sjaehn/BShapr" -license=('GPL3') -groups=('lv2-plugins' 'pro-audio') -depends=('cairo' 'gcc-libs' 'glibc' 'libx11' 'lv2-host') -makedepends=('lv2') -checkdepends=('lv2lint') -source=("$pkgname-$pkgver.tar.gz::https://github.com/sjaehn/${pkgname}/archive/v${pkgver}.tar.gz") +license=(GPL3) +groups=( + lv2-plugins + pro-audio +) +depends=( + cairo + gcc-libs + glibc + libx11 + lv2-host +) +makedepends=(lv2) +checkdepends=(lv2lint) +source=($url/archive/v$pkgver/$_name-$pkgver.tar.gz) sha512sums=('bf45571d7612e1ecce36d58b79202fc8316cbe01f7e070abe38ef613b0f826ad12ff4944101c6363636f5253178c311788d1027f41aacc01ee4233383f9e8908') b2sums=('a6953f65c2b31bf064fdcd24458ee27dbb020691b460111e3e5b65b79eeae1af1f64f30cb4e1f595ceaf5a52c905c9de4a41d378fe300cc623a5a424a249538c') -prepare() { - mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" -} - build() { - cd "$pkgname-$pkgver" - make + make -C $_name-$pkgver } check() { - cd "$pkgname-$pkgver" - lv2lint -Mpack -I "${_name}.lv2/" "${_plugin_uri}" || echo "Known to fail: https://github.com/sjaehn/BShapr/issues/7" + # upstream doesn't care about validation: https://github.com/sjaehn/BShapr/issues/7 + lv2lint -t "Plugin Version Minor" -t "Plugin Version Micro" -t "UI Symbols" -Mpack -I $_name-$pkgver/$_name.lv2/ "$_plugin_uri" } package() { - cd "$pkgname-$pkgver" - make PREFIX=/usr DESTDIR="$pkgdir/" install - install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + make PREFIX=/usr DESTDIR="$pkgdir/" install -C $_name-$pkgver + install -vDm 644 $_name-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/" }
