summaryrefslogtreecommitdiffstats
path: root/abs/extra/serdisplib/PKGBUILD
blob: e888a7d884438e394c2271259cf9ccdd9b6f7f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Bernhard Walle <bernhard@bwalle.de>
# AUR Category: system
pkgname=serdisplib
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)
arch=('i686' 'x86_64')
source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('130552ec60d01e974712a60274f34de7')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc --enable-libusb
  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: