AppArmor: first release of split-package
[mirrors/ArchLinux-Packages.git] / hpong / PKGBUILD
CommitLineData
209feeb0
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
5pkgname=dream-strobe
6pkgver=2
7pkgrel=1
8pkgdesc="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!"
9arch=('any')
10license=('GPL')
11url="http://aur.archlinux.org/packages.php?ID=27012"
12depends=()
13source=('strobe.c')
14md5sums=('8df74539c4f79aaf54a8a6d4423e3b4a')
15
16build() {
17 mkdir -p ${pkgdir}/usr/bin
18 gcc ${startdir}/strobe.c -o ${pkgdir}/usr/bin/dream-strobe || return 1
19
20mkdir -p ${pkgdir}/usr/share/applications
21
22 echo '[Desktop Entry]
23Encoding=UTF-8
24Name=Dream Strobe (10 Hz)
25Comment=Strobe (Dream Machine)
26Comment[cs]=Stroboskop (Stroj na sny)
27GenericName=10 Hz Stroboscope
28Type=Application
29TryExec=/usr/bin/xterm
30Exec=xterm -e '/usr/bin/dream-strobe 10'
31Icon=weather-storm
32Terminal=false
33Categories=Application;Utility;
34' > ${pkgdir}/usr/share/applications/dream-strobe.desktop
35
36 chmod -R 755 ${pkgdir}/
37}
This page took 0.156647 seconds and 4 git commands to generate.