csync-git
[mirrors/ArchLinux-Packages.git] / hpong / PKGBUILD
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
6 pkgver=2
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')
14 md5sums=('8df74539c4f79aaf54a8a6d4423e3b4a')
15
16 build() {
17 mkdir -p ${pkgdir}/usr/bin
18 gcc ${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 }
This page took 0.237546 seconds and 4 git commands to generate.