summaryrefslogtreecommitdiffstats
path: root/abs/extra/lcdproc/PKGBUILD
blob: 03b4333207ba255b4d56cc419e7b31755969a04e (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
27
28
# Contributor: Bernhard Walle <bernhard.walle@gmx.de>
pkgname=lcdproc
pkgver=0.5.3
pkgrel=4
pkgdesc="LCDproc is a utility to drive one or more LCD (and LCD-like) devices attached to a host."
url="http://lcdproc.omnipotent.net/"
license="GPL"
depends=(libusb serdisplib libftdi autoconf automake lirc libnxml libmrss pkgconfig xosd)
backup=(etc/LCDd.conf)
arch=('i686' 'x86_64')
install=lcdproc.install
source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
        lcdproc-add-serdisplib)

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
#  patch -p1 < ../lcdproc-add-serdisplib
  autoreconf
  ./configure --prefix=/usr --sysconfdir=/etc --enable-libusb --enable-lcdproc-menus --enable-stat-smbfs --enable-drivers=all
  make
}
package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  sed -e "s/server\/drivers\//\/usr\/lib\/lcdproc\//g" LCDd.conf > $pkgdir/etc/LCDd.conf
}
md5sums=('fe9a7c9d8f2c5e76250ce2ea8f644921'
         '274322642740ad323c43ec5d324519d4')