[arch-commits] Commit in lcdproc/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Nov 10 00:09:23 UTC 2018
Date: Saturday, November 10, 2018 @ 00:09:16
Author: foutrelis
Revision: 405460
archrelease: copy trunk to community-staging-x86_64
Added:
lcdproc/repos/community-staging-x86_64/
lcdproc/repos/community-staging-x86_64/PKGBUILD
(from rev 405458, lcdproc/trunk/PKGBUILD)
lcdproc/repos/community-staging-x86_64/lcdd.service
(from rev 405458, lcdproc/trunk/lcdd.service)
--------------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
lcdd.service | 11 +++++++++++
2 files changed, 59 insertions(+)
Copied: lcdproc/repos/community-staging-x86_64/PKGBUILD (from rev 405458, lcdproc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-10 00:09:16 UTC (rev 405460)
@@ -0,0 +1,48 @@
+# Maintainer: BlackEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Bernhard Walle <bernhard.walle at gmx.de>
+
+pkgname=lcdproc
+pkgver=0.5.9
+pkgrel=2
+pkgdesc="Utility to drive one or more LCD (and LCD-like) devices"
+arch=('x86_64')
+url="http://lcdproc.omnipotent.net/"
+license=('GPL')
+depends=('libftdi-compat')
+makedepends=('g15daemon')
+optdepends=(
+ 'perl: needed for some lcdproc tools'
+ 'g15daemon: needed if you want g15 support'
+)
+backup=(
+ 'etc/LCDd.conf'
+ 'etc/lcdexec.conf'
+ 'etc/lcdproc.conf'
+ 'etc/lcdvc.conf'
+)
+source=(
+ "https://github.com/lcdproc/lcdproc/releases/download/v$pkgver/lcdproc-$pkgver.tar.gz"
+ 'lcdd.service'
+)
+sha512sums=('48e11a587570376b9524591f4c23deace9ac1609b83ba9e17f2a4e950d5598f8f88b580ca01c174ec9c2ef98b1eef7ac274c23ca3541d4d7ff918af0598c6a25'
+ '33d08d9b5606b8b830cc652fe07a11ee4e7e50f9d257e412c70f64bfd02eaaa732f7124632cd459cece2526de635ef192f863889070533746232773b48b3064a')
+
+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"
+}
Copied: lcdproc/repos/community-staging-x86_64/lcdd.service (from rev 405458, lcdproc/trunk/lcdd.service)
===================================================================
--- community-staging-x86_64/lcdd.service (rev 0)
+++ community-staging-x86_64/lcdd.service 2018-11-10 00:09:16 UTC (rev 405460)
@@ -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
More information about the arch-commits
mailing list