Pthread multi
[mirrors/Programs.git] / c / dreammachine / PKGBUILD
CommitLineData
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
5pkgname=dream-strobe
1de77ebf 6pkgver=4
21c4e167
H
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')
1de77ebf 14md5sums=('a23d214d2934cb5814e10bc9a2b92aa4')
21c4e167
H
15
16build() {
17 mkdir -p ${pkgdir}/usr/bin
18 gcc -O3 ${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.523602 seconds and 4 git commands to generate.