updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / libparapin / PKGBUILD
blob3b39e192040384f49dc4424de7e3dc3e01260ff3
1 # Contributor: PsyToolkit <stoet@gmx.co.uk>
2 pkgname=libparapin
3 pkgver=1.5.1beta1
4 pkgver2=1.5.1-beta1
5 pkgrel=1
6 pkgdesc="a Parallel Port Pin Programming Library for Linux"
7 arch=('i686' 'x86_64')
8 url="http://parapin.sourceforge.net/"
9 license=('LGPL')
10 makedepends=('binutils')
12 source=(http://downloads.sourceforge.net/parapin/parapin-$pkgver2.tgz \
13         Makefile.diff \
16 md5sums=('20ce7b997c3f907de49cc7aaa1946e00' \
17          'f24a1922eebae8efc60dc7d7aeaf0e9f' \
20 build() {
21   cd "$startdir/src/parapin-$pkgver2"
23   patch -p0 < ../Makefile.diff
24   make libparapin.a || return 1
25   make PREFIX="/usr" DESTDIR="$startdir/pkg" install