summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiroslav Koškár2017-09-19 19:37:06 +0200
committerMiroslav Koškár2017-09-19 19:37:06 +0200
commitf148c90ab598ff41106a6f34bf6b0d87d6dbc0b6 (patch)
tree6ca8d82733e46c49e34d356d46eb7d11ba5fec0c
downloadaur-f148c90ab598ff41106a6f34bf6b0d87d6dbc0b6.tar.gz
Initial
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD66
2 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..548f82a755e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = vcvrack-eseries-git
+ pkgdesc = E-Series VCV modules
+ pkgver = r9.8fa5ddb
+ pkgrel = 1
+ url = https://github.com/VCVRack/ESeries
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ depends = vcvrack-git
+ source = vcvrack-ESeries::git+https://github.com/VCVRack/ESeries.git
+ source = vcvrack::git+https://github.com/VCVRack/Rack.git
+ source = git+https://github.com/AndrewBelt/osdialog.git
+ source = git+https://github.com/AndrewBelt/oui-blendish.git
+ source = git+https://github.com/mackron/dr_libs.git
+ source = git+https://github.com/memononen/nanosvg.git
+ source = git+https://github.com/memononen/nanovg.git
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = vcvrack-eseries-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7dc75d589f4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,66 @@
+# Maintainer: Miroslav Koškár <http://mkoskar.com/>
+
+_basename='vcvrack'
+_plugname='ESeries'
+
+pkgname='vcvrack-eseries-git'
+pkgver=r9.8fa5ddb
+pkgrel=1
+pkgdesc='E-Series VCV modules'
+url='https://github.com/VCVRack/ESeries'
+license=(BSD)
+arch=(i686 x86_64)
+depends=(vcvrack-git)
+makedepends=(git)
+
+source=(
+ "$_basename-$_plugname::git+https://github.com/VCVRack/$_plugname.git"
+ "$_basename::git+https://github.com/VCVRack/Rack.git"
+ 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
+)
+sha256sums=(
+ SKIP
+ SKIP
+ SKIP
+ SKIP
+ SKIP
+ SKIP
+ SKIP
+)
+
+pkgver() {
+ cd "$_basename-$_plugname"
+ printf 'r%s.%s' "$(git rev-list --count HEAD)" \
+ "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$_basename"
+ 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"
+ git config submodule.ext/oui-blendish.url "$srcdir/oui-blendish"
+ git submodule update
+
+ cd plugins
+ git clone "$srcdir/$_basename-$_plugname" "$_plugname"
+}
+
+build() {
+ cd "$_basename/plugins/$_plugname"
+ make
+}
+
+package() {
+ cd "$_basename/plugins/$_plugname"
+ install -D -m644 -t "$pkgdir/usr/share/licenses/$_basename/$_plugname" LICENSE*
+ install -d "$pkgdir/opt/$_basename/plugins/$_plugname"
+ cp -dr --preserve=mode -t "$pkgdir/opt/$_basename/plugins/$_plugname" \
+ res plugin.so
+}