summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/lcdproc/PKGBUILD
blob: 73a393b549575eac3a35d08723d32f45f356e808 (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
# Contributor: Bernhard Walle <bernhard.walle@gmx.de>
pkgname=lcdproc
pkgver=0.5.3
pkgrel=2
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 $startdir/src/$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
  make DESTDIR=$startdir/pkg install
  sed -e "s/server\/drivers\//\/usr\/lib\/lcdproc\//g" LCDd.conf > $pkgdir/etc/LCDd.conf
  install -D -m 755 $startdir/src/run.lcdd $startdir/pkg/etc/sv/lcdd/run
}
md5sums=('fe9a7c9d8f2c5e76250ce2ea8f644921'
         '274322642740ad323c43ec5d324519d4')