summaryrefslogtreecommitdiff
path: root/community/lcdproc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/lcdproc
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/lcdproc')
-rw-r--r--community/lcdproc/PKGBUILD48
-rw-r--r--community/lcdproc/lcdd.service11
2 files changed, 59 insertions, 0 deletions
diff --git a/community/lcdproc/PKGBUILD b/community/lcdproc/PKGBUILD
new file mode 100644
index 000000000..ced069659
--- /dev/null
+++ b/community/lcdproc/PKGBUILD
@@ -0,0 +1,48 @@
+# $Id: PKGBUILD 92663 2013-06-11 09:24:01Z idevolder $
+# Maintainer: BlackEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Bernhard Walle <bernhard.walle@gmx.de>
+
+pkgname=lcdproc
+pkgver=0.5.6
+pkgrel=3
+pkgdesc="Utility to drive one or more LCD (and LCD-like) devices"
+url="http://lcdproc.omnipotent.net/"
+license="GPL"
+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')
+source=(
+ "http://switch.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'lcdd.service'
+)
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --enable-libusb \
+ --enable-lcdproc-menus \
+ --enable-stat-smbfs \
+ --enable-drivers=all
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ sed -e "s/server\/drivers\//\/usr\/lib\/lcdproc\//g" -i "$pkgdir/etc/LCDd.conf"
+ install -Dm644 "$srcdir/lcdd.service" "$pkgdir/usr/lib/systemd/system/lcdd.service"
+}
+
+sha256sums=('bd2f43c30ff43b30f43110abe6b4a5bc8e0267cb9f57fa97cc5e5ef9488b984a'
+ '0acdc0fb9668e6d5e023349874301153a16935e1ad757d550c426a9a7ac64638')
diff --git a/community/lcdproc/lcdd.service b/community/lcdproc/lcdd.service
new file mode 100644
index 000000000..6b0072d0d
--- /dev/null
+++ b/community/lcdproc/lcdd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=LCD display driver
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/LCDd -c /etc/LCDd.conf
+ControlGroup=cpu:/
+
+[Install]
+WantedBy=multi-user.target