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/PKGBUILD37
1 files changed, 17 insertions, 20 deletions
diff --git a/abs/extra/lcdproc/PKGBUILD b/abs/extra/lcdproc/PKGBUILD
index 21aa4e8..3106af2 100644
--- a/abs/extra/lcdproc/PKGBUILD
+++ b/abs/extra/lcdproc/PKGBUILD
@@ -1,31 +1,30 @@
+# $Id: PKGBUILD 102962 2013-12-25 04:58:31Z bgyorgy $
# Maintainer: BlackEagle <ike DOT devolder AT gmail DOT com>
# Contributor: Bernhard Walle <bernhard.walle@gmx.de>
+
pkgname=lcdproc
pkgver=0.5.6
-pkgrel=1
+pkgrel=4
pkgdesc="Utility to drive one or more LCD (and LCD-like) devices"
+arch=('i686' 'x86_64')
url="http://lcdproc.omnipotent.net/"
-license="GPL"
-depends=('libusb-compat')
-optdepends=(
- 'perl: needed for some lcdproc tools'
-)
-backup=(
- 'etc/LCDd.conf'
+license=('GPL')
+depends=('libftdi-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-pre1.tar.gz"
- 'lcdd'
-)
+ 'etc/lcdvc.conf')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'lcdd.service')
+sha256sums=('bd2f43c30ff43b30f43110abe6b4a5bc8e0267cb9f57fa97cc5e5ef9488b984a'
+ '0acdc0fb9668e6d5e023349874301153a16935e1ad757d550c426a9a7ac64638')
build() {
- cd "$pkgname-$pkgver-pre1"
+ cd "$pkgname-$pkgver"
./configure \
--prefix=/usr \
+ --sbindir=/usr/bin \
--sysconfdir=/etc \
--enable-libusb \
--enable-lcdproc-menus \
@@ -35,10 +34,8 @@ build() {
}
package() {
- cd "$pkgname-$pkgver-pre1"
+ 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"
+ install -Dm644 "$srcdir/lcdd.service" "$pkgdir/usr/lib/systemd/system/lcdd.service"
}
-md5sums=('2175376ebefc18280b494e5f0a68329b'
- '56f52dcccd6e129a9cf84cd1a0452d56')