summaryrefslogtreecommitdiffstats
path: root/abs/extra/lcdproc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/lcdproc/PKGBUILD')
-rw-r--r--abs/extra/lcdproc/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/extra/lcdproc/PKGBUILD b/abs/extra/lcdproc/PKGBUILD
new file mode 100644
index 0000000..7ee6e50
--- /dev/null
+++ b/abs/extra/lcdproc/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Bernhard Walle <bernhard.walle@gmx.de>
+pkgname=lcdproc
+pkgver=0.5.2
+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)
+source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+ lcdd
+ lcdproc-add-serdisplib
+ )
+md5sums=('860f192d061d87dda6512b11b79daac2'
+ '56f52dcccd6e129a9cf84cd1a0452d56'
+ '274322642740ad323c43ec5d324519d4')
+
+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 > $startdir/pkg/etc/LCDd.conf
+ mkdir -p $startdir/pkg/etc/rc.d
+ install -m 755 $startdir/src/lcdd $startdir/pkg/etc/rc.d
+}