Commit | Line | Data |
---|---|---|
209feeb0 H |
1 | # Contributor: realitygaps |
2 | # Contributor: Harvie | |
3 | # Maintainer: realitygaps | |
4 | pkgname=autozen | |
5 | pkgver=2.1 | |
6 | pkgrel=3 | |
7 | 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!" | |
8 | url="http://www.linuxlabs.com/autozen.shtml" | |
9 | license="GPL" | |
10 | arch=('i686' 'x86_64') | |
11 | source=(http://www.linux.edu/download/$pkgname-$pkgver.tar.gz) | |
12 | md5sums=('8d85f8435f3733b9ea835cd0ffd106cc') | |
13 | ||
14 | build() { | |
15 | #Make | |
16 | cd ${srcdir}/${pkgname}-${pkgver}/ || return 1 | |
17 | make clean || return 1 | |
18 | make || return 1 | |
19 | ||
20 | mkdir -p ${pkgdir}/usr/ | |
21 | make "PREFIX=${pkgdir}/usr" install || return 1 | |
22 | ||
23 | #Menu Icons | |
24 | mkdir -p ${pkgdir}/usr/share/applications/ | |
25 | ||
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 | |
36 | ||
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 | |
47 | ||
48 | #Rights | |
49 | chmod -R 755 ${pkgdir} | |
50 | } |