diff options
Diffstat (limited to 'community/hsolink')
-rw-r--r-- | community/hsolink/PKGBUILD | 28 | ||||
-rw-r--r-- | community/hsolink/hsolink.install | 3 |
2 files changed, 31 insertions, 0 deletions
diff --git a/community/hsolink/PKGBUILD b/community/hsolink/PKGBUILD new file mode 100644 index 000000000..e72d0eee6 --- /dev/null +++ b/community/hsolink/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 65558 2012-02-21 08:56:01Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org> + +pkgname=hsolink +pkgver=1.0.118 +pkgrel=8 +pkgdesc="HSO command line connection utility" +arch=('i686' 'x86_64') +url="http://www.pharscape.org/hsolinkcontrol.html" +license=('GPL2') +depends=('ozerocdoff' 'net-tools') +install=hsolink.install +source=("http://www.pharscape.org/downloads1.html/$pkgname-$pkgver.tar.gz") +md5sums=('8b5b179c487b7ad95112fe74dea7e302') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install + chgrp network "$pkgdir"/usr/bin/hsolinkcontrol + chmod ug+s "$pkgdir"/usr/bin/hsolinkcontrol +} diff --git a/community/hsolink/hsolink.install b/community/hsolink/hsolink.install new file mode 100644 index 000000000..95aa860d4 --- /dev/null +++ b/community/hsolink/hsolink.install @@ -0,0 +1,3 @@ +post_install() { + echo "To use hsolinkcontrol, please add yourself to the 'network' group." +} |