diff options
Diffstat (limited to 'community/minbif')
-rw-r--r-- | community/minbif/PKGBUILD | 7 | ||||
-rw-r--r-- | community/minbif/minbif | 49 |
2 files changed, 2 insertions, 54 deletions
diff --git a/community/minbif/PKGBUILD b/community/minbif/PKGBUILD index b96561236..f4a55802b 100644 --- a/community/minbif/PKGBUILD +++ b/community/minbif/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 75192 2012-08-15 19:32:50Z lfleischer $ +# $Id: PKGBUILD 90561 2013-05-13 08:02:43Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: AkiraYB <brunoyb!yahoo,com,br> pkgname=minbif pkgver=1.0.5 -pkgrel=2.1 +pkgrel=3 pkgdesc='An IRC gateway to IM networks that uses libpurple.' arch=('i686' 'x86_64' 'mips64el') url='http://minbif.im/' @@ -17,12 +17,10 @@ backup=('etc/minbif/minbif.conf' install='minbif.install' source=("http://minbif.im/attachments/download/148/${pkgname}-${pkgver}.tar.gz" 'minbif-gcc-4.7.patch' - 'minbif' 'minbif.service' 'minbif.tmpfiles.conf') md5sums=('00c5c1abbe2b8a9d900961832c7909a8' '2235c45d5bdb01e9ef4b11d2a41d49bb' - '307a6fab42bcaeed11a55b5fb4589778' 'b34876e339a37dfb1dc6cd0b9d8edf9d' '3360f5d1bf9bc69fd9b7c9326f321dc3') @@ -42,7 +40,6 @@ package() { install -dm0755 "${pkgdir}/var/lib" install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif" install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif/users" - install -Dm0755 "${srcdir}/minbif" "${pkgdir}/etc/rc.d/minbif" make DESTDIR="${pkgdir}" install diff --git a/community/minbif/minbif b/community/minbif/minbif deleted file mode 100644 index 47888d169..000000000 --- a/community/minbif/minbif +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/minbif` -case "$1" in - start) - stat_busy "Starting minbif daemon" - if [ -z "$PID" ]; then - if [ ! -d /var/run/minbif ]; then - mkdir -p /var/run/minbif && chown minbif:minbif /var/run/minbif - fi - [ -f /var/run/minbif/minbif.pid ] && rm -f /var/run/minbif/minbif.pid - CMD='/usr/bin/minbif --pidfile /var/run/minbif/minbif.pid \ - /etc/minbif/minbif.conf' - su -s /bin/sh -c "$CMD" minbif - - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon minbif - stat_done - fi - else - stat_fail - fi - ;; - - stop) - stat_busy "Stopping minbif daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm -f /var/run/minbif/minbif.pid - rm_daemon minbif - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |