diff options
author | Britney Fransen <brfransen@gmail.com> | 2010-04-05 23:30:03 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2010-04-05 23:30:03 (GMT) |
commit | c8e469ee144d7e66d498b791be524702dcaa4a6a (patch) | |
tree | 66c7b38cadfe59eb1ed26bde2de5dbcd1e922d29 | |
parent | 5048d21729299a1abe12c1c206a1fa26ace6af0b (diff) | |
parent | 633bb83e698e5914fd38d72e6a17c7249445a3d4 (diff) | |
download | linhes_pkgbuild-c8e469ee144d7e66d498b791be524702dcaa4a6a.zip linhes_pkgbuild-c8e469ee144d7e66d498b791be524702dcaa4a6a.tar.gz linhes_pkgbuild-c8e469ee144d7e66d498b791be524702dcaa4a6a.tar.bz2 |
Merge branch 'master' of brfransen@knoppmyth.net:LinHES-PKGBUILD
-rw-r--r-- | abs/extra-testing/lcdproc/PKGBUILD | 16 | ||||
-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, 48 deletions
diff --git a/abs/extra-testing/lcdproc/PKGBUILD b/abs/extra-testing/lcdproc/PKGBUILD index 7ee6e50..73a393b 100644 --- a/abs/extra-testing/lcdproc/PKGBUILD +++ b/abs/extra-testing/lcdproc/PKGBUILD @@ -1,6 +1,6 @@ # Contributor: Bernhard Walle <bernhard.walle@gmx.de> pkgname=lcdproc -pkgver=0.5.2 +pkgver=0.5.3 pkgrel=2 pkgdesc="LCDproc is a utility to drive one or more LCD (and LCD-like) devices attached to a host." url="http://lcdproc.omnipotent.net/" @@ -8,22 +8,20 @@ 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 + install -D -m 755 $startdir/src/run.lcdd $startdir/pkg/etc/sv/lcdd/run } +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 +} |