updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / prog89s52 / PKGBUILD
blob6a978b700d2039245ad5ea63da51efbc4f3cf289
1 # Contributor: Luiz Ribeiro (venox) <luizribeiro@gmail.com>
3 pkgname=prog89s52
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="prog89S52 is a utility for Linux on the PC, allowing programming of Atmel's AT89S52 microcontroller via the parallel printer port."
7 arch=(i686)
8 url="http://www.8052.com/users/tomi/"
9 license=('GPL')
10 depends=()
11 source=(http://www.8052.com/users/tomi/prog89S52-$pkgver.c http://www.8052.com/users/tomi/prog89S52.1)
12 md5sums=('72ec04f5e679740ec1210b1c70289f80' '42773dec4f4bec77ade9053d272a30df')
14 build() {
15   cd $startdir/src
16   gcc prog89S52-1.0.c -o prog89S52 -lm
17   mkdir -p $startdir/pkg/usr/{man/man1,bin}
18   install -m644 prog89S52.1 $startdir/pkg/usr/man/man1
19   install -m755 prog89S52 $startdir/pkg/usr/bin