summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD27
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..60a532fd6d0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = pd-faustgen2
+ pkgdesc = The FAUST compiler embedded in a Pd external
+ pkgver = 2.0.0
+ pkgrel = 1
+ url = https://github.com/agraef/pd-faustgen
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = faust
+ makedepends = cmake
+ makedepends = llvm
+ depends = pd
+ depends = llvm-libs
+ source = https://github.com/agraef/pd-faustgen/releases/download/2.0.0/pd-faustgen2-2.0.0.tar.gz
+ md5sums = 751fe89d59dda5b7bbecd699c88accf3
+
+pkgname = pd-faustgen2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..177147b2f94
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# -*- shell-script -*-
+# Maintainer: Albert Graef <aggraef at gmail dot com>
+
+pkgname=pd-faustgen2
+prjname=pd-faustgen
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="The FAUST compiler embedded in a Pd external"
+arch=("i686" "x86_64")
+license=('MIT')
+url="https://github.com/agraef/$prjname"
+depends=('pd' 'llvm-libs')
+makedepends=('faust' 'cmake' 'llvm')
+source=("https://github.com/agraef/$prjname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('751fe89d59dda5b7bbecd699c88accf3')
+
+build() {
+ cd "$pkgname-$pkgver"
+ mkdir build && cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DINSTALLED_FAUST=ON
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver/build"
+ make install DESTDIR="$pkgdir"
+}