From bf59496732ea1a8cddf1acf1b6ecd1cc4f5d741f Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 21 Oct 2016 14:27:11 +0000
Subject: roomeqwizard: initial inclusion

---
 abs/extra/roomeqwizard/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 abs/extra/roomeqwizard/PKGBUILD

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:
-- 
cgit v0.12