From 5e6b91969940f5a5887ac6301904e5ce297592df Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Sat, 4 Dec 2010 01:59:26 +0000 Subject: serdisplib: upgrade --- abs/extra/serdisplib/PKGBUILD | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/abs/extra/serdisplib/PKGBUILD b/abs/extra/serdisplib/PKGBUILD index 454769b..e888a7d 100644 --- a/abs/extra/serdisplib/PKGBUILD +++ b/abs/extra/serdisplib/PKGBUILD @@ -1,22 +1,26 @@ -# Contributor: Bernhard Walle +# Contributor: Bernhard Walle +# AUR Category: system pkgname=serdisplib -pkgver=1.97.8 +pkgver=1.97.9 pkgrel=1 pkgdesc="Library for Certain Serial and Parallel LC Displays" url="http://serdisplib.sourceforge.net/" license="GPL" depends=(libusb gd) -backup=(etc/LCDd.conf) -arch=(i686 x86_64) +arch=('i686' 'x86_64') source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('2aa91c43d01d2dfc9fbc1116e3063ae1') +md5sums=('130552ec60d01e974712a60274f34de7') build() { - cd $startdir/src/$pkgname-$pkgver + cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --enable-libusb - make - make DESTDIR=$startdir/pkg includedir=$startdir/pkg/usr/include \ - libdir=$startdir/pkg/usr/lib bindir=$startdir/pkg/usr/bin \ + make || return 1 +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} includedir=${pkgdir}/usr/include \ + libdir=${pkgdir}/usr/lib bindir=${pkgdir}/usr/bin \ install } # :mode=shellscript: + -- cgit v0.12