updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / calcc / PKGBUILD
blobeeb516522820aa69d72233062e2b4fe78ede46c4
1 # Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
2 pkgname=calcc
3 pkgver=0.1.4
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 pkgdesc="useful command-line calculator (32/64 bit numbers)"
7 url="http://aluigi.org/mytoolz.htm#calcc"
8 license="Open Source"
9 depends=()
10 makedepends=('gcc')
11 conflicts=()
12 replaces=()
13 backup=()
14 install=
15 source=('http://aluigi.org/mytoolz/calcc.zip')
16 md5sums=('b0cb711ad3dd06cbc9a747f436701ef1')
18 build() {
19   cd $startdir/src
20   mkdir -p $startdir/pkg/usr/bin
22   gcc -o calcc calcc.c
23   cp calcc $startdir/pkg/usr/bin