updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / parallelize / PKGBUILD
blob16cfde3f05f154240bb01e826a4b1fa586f853b8
1 # Contributor: snuo
2 pkgname=parallelize
3 pkgver=1.0
4 pkgrel=1
5 pkgdesc="A shell utility to execute command batches in parallel."
6 arch=('i686' 'x86_64')
7 url="http://www.marco.org/36737831"
8 license=('public-domain')
9 source=("morehelp.patch" "http://articles.marco.org/images/parallelize.c")
10 md5sums=('acd25edad0c03116a3bc0b607ee49fe8'
11          '1f686e6b6bedbfbed10c52acfdbc0ee3')
12 sha1sums=('21f9e3a48e0b5fe21cfb4b0d8679f92533d01f44'
13           '4ef6d427653826c53efb75369bf32e4b211b748d')
15 build() {
16         cd "$srcdir"
17         patch -i morehelp.patch
18         gcc -pthread parallelize.c -o parallelize || return 1
19         install -m755 -d $pkgdir/usr/bin
20         cp -r ./* $pkgdir/usr/bin