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/PKGBUILD52
1 files changed, 34 insertions, 18 deletions
diff --git a/abs/extra/lcdproc/PKGBUILD b/abs/extra/lcdproc/PKGBUILD
index 03b4333..e8fe80d 100644
--- a/abs/extra/lcdproc/PKGBUILD
+++ b/abs/extra/lcdproc/PKGBUILD
@@ -1,28 +1,44 @@
+# Maintainer: BlackEagle <ike DOT devolder AT gmail DOT com>
# 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."
+pkgver=0.5.5
+pkgrel=3
+pkgdesc="Utility to drive one or more LCD (and LCD-like) devices"
url="http://lcdproc.omnipotent.net/"
license="GPL"
-depends=(libusb serdisplib libftdi autoconf automake lirc libnxml libmrss pkgconfig xosd)
-backup=(etc/LCDd.conf)
+depends=('libusb-compat')
+optdepends=(
+ 'perl: needed for some lcdproc tools'
+)
+backup=(
+ 'etc/LCDd.conf'
+ 'etc/lcdexec.conf'
+ 'etc/lcdproc.conf'
+ 'etc/lcdvc.conf'
+)
arch=('i686' 'x86_64')
-install=lcdproc.install
-source=(http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
- lcdproc-add-serdisplib)
+source=(
+ "http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'lcdd'
+)
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
+ cd "$pkgname-$pkgver"
+ ./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
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ sed -e "s/server\/drivers\//\/usr\/lib\/lcdproc\//g" -i "$pkgdir/etc/LCDd.conf"
+ install -Dm755 "$srcdir/lcdd" "$pkgdir/etc/rc.d/lcdd"
}
-md5sums=('fe9a7c9d8f2c5e76250ce2ea8f644921'
- '274322642740ad323c43ec5d324519d4')
+sha256sums=('b136b47d7bf585a003334f432d8730a36ef5ed1cd520084b919667d825e48d42'
+ 'b43dfd02e38f0149a02396cdc355e5ca2b51217b2da6092de56d426490abfcab')