summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMiroslav Koškár2018-04-15 11:38:20 +0200
committerMiroslav Koškár2018-04-15 11:38:20 +0200
commit515606c05ed7fb1acbd585c9f6df694a7e636a99 (patch)
tree753a729b91ca059f9b0031ecc04bbf55d0634a97 /PKGBUILD
parenteba40566f4e8a535d1709f921ba9d9a3509d9599 (diff)
downloadaur-vcvrack-eseries.tar.gz
0.6.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 24ab916ff81..abee03dcc72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,24 @@
# Maintainer: Miroslav Koškár <http://mkoskar.com/>
-_rackver=0.5.1
+_rackver=0.6.0
_plugname='ESeries'
pkgname='vcvrack-eseries'
-pkgver=0.5.0
+pkgver=0.6.0
pkgrel=1
pkgdesc='E-Series VCV modules'
url='https://github.com/VCVRack/ESeries'
license=(BSD)
arch=(i686 x86_64)
-depends=(vcvrack)
-makedepends=(git)
+depends=('vcvrack>=0.6')
+makedepends=(git zip)
+install="$pkgname.install"
source=(
"vcvrack-$_plugname::git+https://github.com/VCVRack/$_plugname.git#tag=v$pkgver"
"vcvrack::git+https://github.com/VCVRack/Rack.git#tag=v$_rackver"
git+https://github.com/AndrewBelt/osdialog.git
git+https://github.com/AndrewBelt/oui-blendish.git
- git+https://github.com/mackron/dr_libs.git
git+https://github.com/memononen/nanosvg.git
git+https://github.com/memononen/nanovg.git
)
@@ -29,13 +29,11 @@ sha256sums=(
SKIP
SKIP
SKIP
- SKIP
)
prepare() {
cd vcvrack
git submodule init
- git config submodule.ext/dr_libs.url "$srcdir/dr_libs"
git config submodule.ext/nanosvg.url "$srcdir/nanosvg"
git config submodule.ext/nanovg.url "$srcdir/nanovg"
git config submodule.ext/osdialog.url "$srcdir/osdialog"
@@ -48,13 +46,11 @@ prepare() {
build() {
cd "vcvrack/plugins/$_plugname"
- make
+ FLAGS='-I/opt/vcvrack/include' make dist
}
package() {
cd "vcvrack/plugins/$_plugname"
- install -D -m644 -t "$pkgdir/usr/share/licenses/vcvrack/$_plugname" LICENSE*
- install -d "$pkgdir/opt/vcvrack/plugins/$_plugname"
- cp -dr --preserve=mode -t "$pkgdir/opt/vcvrack/plugins/$_plugname" \
- res plugin.so
+ install -D -m644 "dist/$_plugname-$pkgver-lin.zip" \
+ "$pkgdir/opt/vcvrack/$_plugname.zip"
}