summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-10-21 14:27:11 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-10-21 14:27:11 (GMT)
commitbf59496732ea1a8cddf1acf1b6ecd1cc4f5d741f (patch)
treede9302300a35350928c92d62f03637f821ed1dff /abs
parent01fe0287fffee91a9f18fdab00d18d4c85aaa543 (diff)
downloadlinhes_pkgbuild-bf59496732ea1a8cddf1acf1b6ecd1cc4f5d741f.zip
linhes_pkgbuild-bf59496732ea1a8cddf1acf1b6ecd1cc4f5d741f.tar.gz
linhes_pkgbuild-bf59496732ea1a8cddf1acf1b6ecd1cc4f5d741f.tar.bz2
roomeqwizard: initial inclusion
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/roomeqwizard/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/extra/roomeqwizard/PKGBUILD b/abs/extra/roomeqwizard/PKGBUILD
new file mode 100644
index 0000000..dd42753
--- /dev/null
+++ b/abs/extra/roomeqwizard/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
+pkgname=roomeqwizard
+pkgver=5.16
+_pkgver=5_16
+pkgrel=1
+pkgdesc="free room acoustics analysis software for measuring and analysing room and loudspeaker responses"
+arch=('any')
+url="http://www.roomeqwizard.com"
+license=('custom')
+depends=('java-environment' 'xdg-utils')
+source=("http://www.roomeqwizard.com/installers/REW_linux_$_pkgver.sh")
+md5sums=('fb9be136c2c552a5c5a8f2dda445a07d')
+
+package() {
+ # install
+ mkdir -p "$pkgdir/opt/REW" \
+ "$pkgdir/usr/bin" \
+ "$pkgdir/usr/share/licenses/$pkgname" \
+ "$pkgdir/usr/share/doc/$pkgname" \
+ "$pkgdir/usr/share/applications/$pkgname"
+ sh REW_linux_$_pkgver.sh -q -dir "$pkgdir/opt/REW"
+ mv "$pkgdir/opt/REW/EULA.html" "$pkgdir/usr/share/licenses/$pkgname/EULA.html"
+ mv "$pkgdir/opt/REW/readme.txt" "$pkgdir/usr/share/doc/$pkgname/readme"
+ mv "$pkgdir/opt/REW/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname/$pkgname.desktop"
+ ln -s "/opt/REW/$pkgname" "$pkgdir/usr/bin/$pkgname"
+
+ # basic cleanup
+ rm -rf "$pkgdir/opt/REW/.install4j/installation.log"
+ rm -rf "$pkgdir/opt/REW/uninstall"
+ rm -rf "$pkgdir/opt/REW/uninstall.png"
+
+ # repair
+ sed "s#$pkgdir##g" -i "$pkgdir/usr/share/applications/$pkgname/$pkgname.desktop"
+ sed "s#$pkgdir##g" -i "$pkgdir/opt/REW/.install4j/response.varfile"
+ sed "s#$pkgdir##g" -i "$pkgdir/opt/REW/.install4j/install.prop"
+}
+
+# vim:set ts=2 sw=2 et: