diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2010-04-18 05:55:06 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2010-04-18 05:55:06 (GMT) |
commit | d4589eee8998a168eaa79af7a04d82faac1a738d (patch) | |
tree | 731625204f3902bb9b5f7a8a492c6b8fcc09c915 /abs/extra-testing/lcdproc | |
parent | 5106977528d3d26919263bf62d504035a7720633 (diff) | |
parent | 787f13cd63c75c9c5090c10c0e888f48a59c0e49 (diff) | |
download | linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.zip linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.tar.gz linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.tar.bz2 |
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/lcdproc')
-rw-r--r-- | abs/extra-testing/lcdproc/PKGBUILD | 17 | ||||
-rw-r--r-- | abs/extra-testing/lcdproc/__changelog | 5 | ||||
-rwxr-xr-x | abs/extra-testing/lcdproc/lcdd | 38 | ||||
-rw-r--r-- | abs/extra-testing/lcdproc/lcdproc.install | 7 |
4 files changed, 18 insertions, 49 deletions
diff --git a/abs/extra-testing/lcdproc/PKGBUILD b/abs/extra-testing/lcdproc/PKGBUILD index 7ee6e50..e5cc719 100644 --- a/abs/extra-testing/lcdproc/PKGBUILD +++ b/abs/extra-testing/lcdproc/PKGBUILD @@ -1,29 +1,26 @@ # Contributor: Bernhard Walle <bernhard.walle@gmx.de> pkgname=lcdproc -pkgver=0.5.2 -pkgrel=2 +pkgver=0.5.3 +pkgrel=3 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) +install=lcdproc.install 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 +# 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 + sed -e "s/server\/drivers\//\/usr\/lib\/lcdproc\//g" LCDd.conf > $pkgdir/etc/LCDd.conf } +md5sums=('fe9a7c9d8f2c5e76250ce2ea8f644921' + '274322642740ad323c43ec5d324519d4') diff --git a/abs/extra-testing/lcdproc/__changelog b/abs/extra-testing/lcdproc/__changelog index 52c2d35..96fd954 100644 --- a/abs/extra-testing/lcdproc/__changelog +++ b/abs/extra-testing/lcdproc/__changelog @@ -1 +1,4 @@ -add xosd
\ No newline at end of file +add xosd +# mihanson 2010-04-05 +updated to 0.5.3 +removed lcdproc-add-serdisplib as it does not appear to be needed anymore diff --git a/abs/extra-testing/lcdproc/lcdd b/abs/extra-testing/lcdproc/lcdd deleted file mode 100755 index a124c00..0000000 --- a/abs/extra-testing/lcdproc/lcdd +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/LCDd` -case "$1" in - start) - stat_busy "Starting LCDd daemon" - [ -z "$PID" ] && /usr/sbin/LCDd -c /etc/LCDd.conf - if [ $? -gt 0 ]; then - stat_fail - else - echo $PID > /var/run/lcdd.pid - add_daemon lcdd - stat_done - fi - ;; - stop) - stat_busy "Stopping LCDd daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm /var/run/lcdd.pid - rm_daemon lcdd - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/abs/extra-testing/lcdproc/lcdproc.install b/abs/extra-testing/lcdproc/lcdproc.install new file mode 100644 index 0000000..bd3c85e --- /dev/null +++ b/abs/extra-testing/lcdproc/lcdproc.install @@ -0,0 +1,7 @@ +post_install() { + add_service.sh lcdd +} + +pre_remove() { + remove_service.sh lcdd +} |