updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / dio / PKGBUILD
blob477fcaebf7dd12c00a7ee3f1921a6a8b04c29745
1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Your Name <youremail@domain.com>
7 pkgname=dio
8 pkgver=0.4
9 pkgrel=1
10 pkgdesc="dio is a generic input output program for X. It reads list items from stdin. These items can be played on selection, by order or randomly. Items can also be filtered or removed. dio can also generate text for stdout from user input."
11 arch=('i686')
12 url="http://code.google.com/p/dynamic-io/"
13 license=('MIT')
14 groups=()
15 depends=()
16 makedepends=()
17 provides=()
18 conflicts=()
19 replaces=()
20 backup=()
21 options=()
22 install=
23 source=(dio-installpath.patch config.h
24   http://dynamic-io.googlecode.com/files/$pkgname-$pkgver.tar.gz)
25 noextract=()
26 md5sums=('6963fffd04d25d4fc7c5c3d30f587409'
27          'a4d3963fb6af5ffc394d745b9bb6398d'
28          'acdc75530abcbaa70f3147dd2cd153aa')
29 build() {
30   cd "$srcdir/$pkgname-$pkgver"
31   cp -b ../config.h ./
32   patch -p1 < ../dio-installpath.patch
34   make clean
35   make || return 1
36   make DESTDIR="$pkgdir/" install
38   for i in README bin/*;
39   do install -D -m 755 $i $pkgdir/usr/share/dio/$i
40   done
43 # vim:set ts=2 sw=2 et: