diff options
-rw-r--r-- | abs/extra/serdisplib/PKGBUILD | 22 |
1 files 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 <bernhard.walle@gmx.de> +# Contributor: Bernhard Walle <bernhard@bwalle.de> +# 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: + |