[arch-commits] Commit in sc3-plugins/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Nov 28 18:54:34 UTC 2018
Date: Wednesday, November 28, 2018 @ 18:54:34
Author: dvzrv
Revision: 410450
upgpkg: sc3-plugins 3.10.0-1
Upgrading to 3.10.0. Switching to source tarball for source instead of git repositories and submodules.
Modified:
sc3-plugins/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++----------------------
1 file changed, 8 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-28 18:32:09 UTC (rev 410449)
+++ PKGBUILD 2018-11-28 18:54:34 UTC (rev 410450)
@@ -1,6 +1,6 @@
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=sc3-plugins
-pkgver=3.9.1
+pkgver=3.10.0
pkgrel=1
pkgdesc="Extension plugins for the SuperCollider3 audio synthesis server."
arch=('x86_64')
@@ -9,27 +9,15 @@
groups=('pro-audio')
depends=('supercollider')
makedepends=('cmake' 'git')
-# proper source tarball generation is requested:
-# https://github.com/supercollider/sc3-plugins/pull/186
-#source=("$pkgname-$pkgver.tar.gz::https://github.com/supercollider/${pkgname}/archive/Version-${pkgver}.tar.gz")
-source=("$pkgname::git+https://github.com/supercollider/${pkgname}.git#tag=Version-${pkgver}"
- "git+https://github.com/timblechmann/nova-simd"
- "git+https://github.com/thestk/stk/"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/supercollider/${pkgname}/releases/download/Version-${pkgver}/${pkgname}-${pkgver}-Source.tar.bz2"
"fixing-supernova-check.patch")
-sha512sums=('SKIP'
- 'SKIP'
- 'SKIP'
+sha512sums=('2105e049046ae595ed7e2e57be5f3d7ba20b940530ea448bde098cd2cdfdddc6ab17d7f16b27ef41f9e245f879d287ecb51f66bc0535814e0a2be4b0a806e377'
'34a0753c116a763d4e3576c0207cf20ccc24043829d0b8a3ffa77e3928ffa98ccba9640854e4a728f698eeda23283c6f44f713c5bf155de3bf5f174f597f2805')
prepare() {
-# mv -v "$pkgname-Version-$pkgver" "${pkgname}-${pkgver}"
-# cd "${pkgname}-${pkgver}"
- cd ${pkgname}
- git submodule init
- git config submodule.external_libraries/nova-simd.url "${srcdir}/nova-simd"
- git config submodule.external_libraries/stk.url "${srcdir}/stk"
- git submodule update
- # fixing false check for SUPERNOVA
+ mv -v "$pkgname-$pkgver-Source" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ # fixing wrong check for SUPERNOVA
# https://github.com/supercollider/sc3-plugins/issues/185
patch -Np1 -i "${srcdir}/fixing-supernova-check.patch"
mkdir build
@@ -36,8 +24,7 @@
}
build() {
-# cd "$pkgname-$pkgver/build"
- cd "${pkgname}/build"
+ cd "$pkgname-$pkgver/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DSC_PATH=/usr/include/SuperCollider/ \
@@ -47,8 +34,7 @@
}
package() {
-# cd "$pkgname-$pkgver/build"
- cd "${pkgname}/build"
+ cd "$pkgname-$pkgver/build"
make DESTDIR="$pkgdir/" install
install -vDm 644 ../{{DEVELOPING,README}.md,TODO} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"
More information about the arch-commits
mailing list