Commit | Line | Data |
---|---|---|
21c4e167 H |
1 | # Contributor: Thomas Mudrunka <harvie@@email..cz> |
2 | # Maintainer: Thomas Mudrunka <harvie@@email..cz> | |
3 | # You can also contact me on http://blog.harvie.cz/ | |
4 | ||
5 | pkgname=dream-strobe | |
1de77ebf | 6 | pkgver=4 |
21c4e167 H |
7 | pkgrel=1 |
8 | pkgdesc="Stroboscope implementation for GNU/Linux console. Also called 'Dream Machine' or 'Strobe'. Can be used to alternate state of consciousness by affecting brainwave frequencies. Use only at your own risk!" | |
9 | arch=('any') | |
10 | license=('GPL') | |
11 | url="http://aur.archlinux.org/packages.php?ID=27012" | |
12 | depends=() | |
13 | source=('strobe.c') | |
1de77ebf | 14 | md5sums=('a23d214d2934cb5814e10bc9a2b92aa4') |
21c4e167 H |
15 | |
16 | build() { | |
17 | mkdir -p ${pkgdir}/usr/bin | |
18 | gcc -O3 ${startdir}/strobe.c -o ${pkgdir}/usr/bin/dream-strobe || return 1 | |
19 | ||
20 | mkdir -p ${pkgdir}/usr/share/applications | |
21 | ||
22 | echo '[Desktop Entry] | |
23 | Encoding=UTF-8 | |
24 | Name=Dream Strobe (10 Hz) | |
25 | Comment=Strobe (Dream Machine) | |
26 | Comment[cs]=Stroboskop (Stroj na sny) | |
27 | GenericName=10 Hz Stroboscope | |
28 | Type=Application | |
29 | TryExec=/usr/bin/xterm | |
30 | Exec=xterm -e '/usr/bin/dream-strobe 10' | |
31 | Icon=weather-storm | |
32 | Terminal=false | |
33 | Categories=Application;Utility; | |
34 | ' > ${pkgdir}/usr/share/applications/dream-strobe.desktop | |
35 | ||
36 | chmod -R 755 ${pkgdir}/ | |
37 | } |