summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordustball2015-08-08 14:51:22 +0200
committerdustball2015-08-08 14:51:22 +0200
commit68175ae66e5cbdb3c23cc6c30217846098b3931d (patch)
tree93fa2280c0f4c8ac9e24e1dbbc9b93e2b7f7e1a1
downloadaur-68175ae66e5cbdb3c23cc6c30217846098b3931d.tar.gz
Init
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD32
-rw-r--r--gnaural.install11
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..619d1ec0c3a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = gnaural
+ pkgdesc = An opensource binaural-beat generator
+ pkgver = 1.0.20110606
+ pkgrel = 2
+ url = http://gnaural.sourceforge.net/
+ install = gnaural.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libglade
+ depends = portaudio
+ conflicts = gnaural2
+ conflicts = gnaural-cvs
+ conflicts = gnaural-bbgen
+ source = http://downloads.sourceforge.net/project/gnaural/Gnaural/gnaural-1.0.20110606.tar.gz
+ md5sums = 8eea03a78ba02ee5d13c55fc6c0c9a00
+
+pkgname = gnaural
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f67ffeb4229
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=gnaural
+pkgver=1.0.20110606
+pkgrel=2
+pkgdesc="An opensource binaural-beat generator"
+arch=(i686 x86_64)
+url="http://gnaural.sourceforge.net/"
+license=('GPL')
+depends=('libglade' 'portaudio')
+conflicts=('gnaural2' 'gnaural-cvs' 'gnaural-bbgen')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/project/$pkgname/Gnaural/$pkgname-$pkgver.tar.gz")
+md5sums=('8eea03a78ba02ee5d13c55fc6c0c9a00')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # desktop file path fix
+ sed -i "s|gnome/apps/Multimedia|applications|g" Makefile.*
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/gnaural.install b/gnaural.install
new file mode 100644
index 00000000000..e111ef94605
--- /dev/null
+++ b/gnaural.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}