updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / primax_scan / PKGBUILD
blob9741afcb4f952014bbab368ca58f5654f6390a00
1 # Contributor: Dieter Plaetinck <dieter@plaetinck.be>
2 pkgname=primax_scan
3 pkgver=0.93beta3
4 pkgrel=1
5 pkgdesc="The Primax Scanner Driver Project for Linux/UN*X"
6 arch=(i686)
7 url="http://primax.sourceforge.net/index.html"
8 license=('GPL')
9 groups=()
10 depends=()
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=
18 source=("http://ornellas.apanela.com/dokuwiki/_media/software:$pkgname-$pkgver.tar.gz?id=software%3Ayaprimaxgui&cache=cache")
19 noextract=()
20 md5sums=("7eab5e313b81d225754863b25dbafd2e")
22 build() {
23   cd "$srcdir/$pkgname-$pkgver"
24   chmod +w lp.c
25   sed -i 's#asm/io.h#sys/io.h#' lp.c
26   sed -i 's#asm/io.h#sys/io.h#' primax_scan.c
27   ./configure --prefix=/usr
28   make || return 1
29   make DESTDIR="$pkgdir/" install
32 # vim:set ts=2 sw=2 et: