summaryrefslogtreecommitdiff
path: root/pcr/setbfree
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/setbfree')
-rw-r--r--pcr/setbfree/PKGBUILD45
-rw-r--r--pcr/setbfree/setbfree.install11
2 files changed, 56 insertions, 0 deletions
diff --git a/pcr/setbfree/PKGBUILD b/pcr/setbfree/PKGBUILD
new file mode 100644
index 000000000..c17511f47
--- /dev/null
+++ b/pcr/setbfree/PKGBUILD
@@ -0,0 +1,45 @@
+
+pkgname=setbfree
+pkgver=0.7.3
+pkgrel=1
+pkgdesc="A DSP Tonewheel Organ emulator."
+arch=(i686 x86_64)
+url="http://setbfree.org/"
+license=('GPL')
+depends=('jack' 'liblo' 'tk' 'desktop-file-utils')
+makedepends=('lv2')
+install="$pkgname.install"
+source=("https://github.com/pantherb/setBfree/tarball/v$pkgver"
+ "https://raw.github.com/pantherb/setBfree/master/debian/setbfree.desktop")
+md5sums=('8b7b077dfb784927c7103948083e1f04'
+ '8c2a863562f26856dcff0a456cf36dcf')
+
+build() {
+ cd "$srcdir/pantherb"*
+ make PREFIX=/usr
+}
+
+package() {
+ cd "$srcdir/pantherb"*
+ make DESTDIR="$pkgdir/" PREFIX=/usr install
+
+ # desktop file
+ install -Dm644 ../$pkgname.desktop \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+
+ # icon
+ install -Dm644 doc/setBfree.png \
+ "$pkgdir/usr/share/icons/setBfree.png"
+
+ # man
+ install -d "$pkgdir/usr/share/man/man1"
+ install -Dm644 doc/*.1 \
+ "$pkgdir/usr/share/man/man1"
+
+ # docs
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm644 doc/{midi.txt,signal_flow.png} \
+ "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/setbfree/setbfree.install b/pcr/setbfree/setbfree.install
new file mode 100644
index 000000000..e111ef946
--- /dev/null
+++ b/pcr/setbfree/setbfree.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}