updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / autozen / PKGBUILD
blob07b3738fe1880e274a0784bd1f68b225ea85f42f
1 # Contributor: Harvie
2 # Maintainer: realitygaps
3 pkgname=autozen
4 pkgver=2.1
5 pkgrel=3
6 pkgdesc="A binural brainwave generator. Cause the user to experience an altered state of consciousness. Wear headphones. Don't use if you suffer for any kind of epilepsy and use at your own risk!"
7 url="http://www.linuxlabs.com/autozen.shtml"
8 license="GPL"
9 arch=('i686' 'x86_64')
10 source=(http://www.sourcefiles.org/Miscellaneous/$pkgname-$pkgver.tar.gz)
11 depends=('gtk')
12 md5sums=('8d85f8435f3733b9ea835cd0ffd106cc')
14 build() {
15 #Make
16 cd ${srcdir}/${pkgname}-${pkgver}/ || return 1
17 make clean || return 1
18 make || return 1
20 mkdir -p ${pkgdir}/usr/
21 make "PREFIX=${pkgdir}/usr" install || return 1
23 #Menu Icons
24 mkdir -p ${pkgdir}/usr/share/applications/
26 echo '[Desktop Entry]
27 Encoding=UTF-8
28 Name=AutoZen
29 GenericName=BrainWave Generator/Synchronizator
30 Exec=autozen
31 Icon=autozen
32 Categories=Application;GTK;AudioVideo;Player;
33 Terminal=false
34 Type=Application
35 ' > ${pkgdir}/usr/share/applications/autozen.desktop
37 echo '[Desktop Entry]
38 Encoding=UTF-8
39 Name=AutoZen (colorbox)
40 GenericName=BrainWave Generator/Synchronizator
41 Exec=autozen -colorbox
42 Icon=autozen
43 Categories=Application;GTK;AudioVideo;Player;
44 Terminal=false
45 Type=Application
46 ' > ${pkgdir}/usr/share/applications/autozen-colorbox.desktop
48 #Rights
49 chmod -R 755 ${pkgdir}