summaryrefslogtreecommitdiff
path: root/community/hsolink/PKGBUILD
blob: 81c10eb951be5a500f280dee3c1759df199e4fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 50013 2011-06-23 12:34:22Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>

pkgname=hsolink
pkgver=1.0.118
pkgrel=7
pkgdesc="HSO command line connection utility"
arch=('i686' 'x86_64' 'mips64el')
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
}