summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Adler2019-09-28 11:37:10 +0200
committerDavid Adler2019-09-28 11:37:10 +0200
commit0d26a586c8ab200deae82d0dedc9ed7c8c39b87d (patch)
treedcd94c33cd6735080f9042e9baf6654a75c51c56
downloadaur-mx44.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
-rw-r--r--mx44.patch22
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..aa4981d4ee0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = mx44
+ pkgdesc = 4 x 4 phase and amplitude crossmodulating synthesizer
+ pkgver = 2
+ pkgrel = 1
+ url = https://web.archive.org/web/20190205234526/http://web.comhem.se/luna/
+ arch = x86_64
+ license = GPL2
+ depends = gtk2
+ depends = jack
+ source = mx44::https://web.archive.org/web/20160730161851if_/http://web.comhem.se/luna/Mx44.2.tar.gz
+ source = mx44.patch
+ md5sums = 8e532c78d79e189fe5b6e2dd10acf0e2
+ md5sums = d897856c49d9bc589b430b3fe3292c2a
+
+pkgname = mx44
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6f6729e9d21
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: David Adler <d.adler@posteo.de>
+
+pkgname=mx44
+_pkgname=Mx44
+pkgver=2
+pkgrel=1
+pkgdesc="4 x 4 phase and amplitude crossmodulating synthesizer"
+arch=('x86_64')
+url="https://web.archive.org/web/20190205234526/http://web.comhem.se/luna/"
+license=('GPL2')
+depends=('gtk2' 'jack')
+source=("mx44::https://web.archive.org/web/20160730161851if_/http://web.comhem.se/luna/$_pkgname.$pkgver.tar.gz" "$pkgname.patch")
+md5sums=('8e532c78d79e189fe5b6e2dd10acf0e2'
+ 'd897856c49d9bc589b430b3fe3292c2a')
+
+
+prepare() {
+ cd "$_pkgname.$pkgver/src"
+ patch -p2 -i "$srcdir/$pkgname.patch"
+}
+
+build() {
+ cd "$_pkgname.$pkgver/src"
+ make
+}
+
+package() {
+ cd "$_pkgname.$pkgver/src"
+ make DESTDIR="$pkgdir/" PREFIX="/usr" install
+}
diff --git a/mx44.patch b/mx44.patch
new file mode 100644
index 00000000000..4898cb72fad
--- /dev/null
+++ b/mx44.patch
@@ -0,0 +1,22 @@
+diff --unified --recursive --text Mx44.2.orig/src/Makefile Mx44.2.new/src/Makefile
+--- Mx44.2.orig/src/Makefile 2019-09-28 09:43:44.649744513 +0200
++++ Mx44.2.new/src/Makefile 2019-09-28 10:39:07.452949539 +0200
+@@ -4,8 +4,8 @@
+
+ PREFIX = /usr/local/
+
+-DATADIR = $(PREFIX)share/Mx44/
+-BINDIR = $(PREFIX)bin/
++DATADIR = $(DESTDIR)$(PREFIX)/share/Mx44/
++BINDIR = $(DESTDIR)$(PREFIX)/bin/
+
+ DIR = Mx44.2
+
+@@ -42,6 +42,7 @@
+ $(CC) -c $(FLAGS) $<
+
+ install: $(TARGET)
++ install -d $(BINDIR)
+ install $(TARGET) $(BINDIR)
+ install -d $(DATADIR)
+ install -t $(DATADIR) ../data/mx44patch