diff options
Diffstat (limited to 'abs/core-testing/skvm-hg')
-rw-r--r-- | abs/core-testing/skvm-hg/PKGBUILD | 52 | ||||
-rwxr-xr-x | abs/core-testing/skvm-hg/finish | 3 | ||||
-rwxr-xr-x | abs/core-testing/skvm-hg/run | 8 | ||||
-rw-r--r-- | abs/core-testing/skvm-hg/skvm.install | 10 |
4 files changed, 0 insertions, 73 deletions
diff --git a/abs/core-testing/skvm-hg/PKGBUILD b/abs/core-testing/skvm-hg/PKGBUILD deleted file mode 100644 index bd4c0f5..0000000 --- a/abs/core-testing/skvm-hg/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Ondrej Martinak <omartinak@gmail.com> - -pkgname=skvm-hg -pkgver=0.1 -pkgrel=2 -pkgdesc="A lightweight volume manager" -arch=('i686' 'x86_64') -url="http://code.suckless.org/hg/skvm" -license=('MIT') -depends=('hal' 'dbus') -makedepends=('mercurial') -conflicts=('skvm') -provides=('skvm') -source=('run' 'finish') -install=skvm.install -_hgroot="http://code.suckless.org/hg/skvm" -_hgname="skvm" - -build() { - cd ${srcdir} - - msg "Connecting to mercurial server..." - - if [ -d $_hgname ]; then - cd $_hgname && hg pull - cd .. - msg "The local files are updated." - else - hg clone $_hgroot - fi - - msg "Mercurial checkout done or server timeout." - msg "Starting make..." - - rm -rf $_hgname-build - cp -r $_hgname $_hgname-build - cd $_hgname-build - - make || return 1 - - mkdir -p ${startdir}/pkg/usr/bin - mkdir -p ${startdir}/pkg/etc/rc.d - mkdir -p ${startdir}/pkg/usr/local/share/man/man1 - mkdir -p ${startdir}/pkg/etc/sv/skvm/supervise - - install -m 755 skvm ${startdir}/pkg/usr/bin/skvm - install -m 755 init/skvm ${startdir}/pkg/etc/rc.d/skvm - sed "s/VERSION/${pkgver}/g" < skvm.1 > ${startdir}/pkg/usr/local/share/man/man1/skvm.1 - chmod 644 ${startdir}/pkg/usr/local/share/man/man1/skvm.1 - install -m 755 ${startdir}/src/run ${startdir}/pkg/etc/sv/skvm - install -m 755 ${startdir}/src/finish ${startdir}/pkg/etc/sv/skvm -} diff --git a/abs/core-testing/skvm-hg/finish b/abs/core-testing/skvm-hg/finish deleted file mode 100755 index 206250c..0000000 --- a/abs/core-testing/skvm-hg/finish +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -exec 2>&1 -sv down skvm diff --git a/abs/core-testing/skvm-hg/run b/abs/core-testing/skvm-hg/run deleted file mode 100755 index 188f5d8..0000000 --- a/abs/core-testing/skvm-hg/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -exec 2>&1 -export TERM=linux -./etc/rc.conf -./etc/rc.d/functions -svwaitup hal 2>/dev/null 1>/dev/null -stat_runit "Starting skvm" -exec /etc/rc.d/skvm start diff --git a/abs/core-testing/skvm-hg/skvm.install b/abs/core-testing/skvm-hg/skvm.install deleted file mode 100644 index 1f82467..0000000 --- a/abs/core-testing/skvm-hg/skvm.install +++ /dev/null @@ -1,10 +0,0 @@ -# arg 1: the new package version -post_install() { - add_service.sh skvm - sv start skvm -} - -post_remove() { - sv down skvm - remove_service.sh skvm -} |