# Maintainer: Andreas B. Wagner pointfree on irc.freenode.net # Contributor: scrawl # Contributor: Fincer pkgname=haguichi pkgver=1.0.26 _series=1.0 pkgrel=1 pkgdesc="Hamachi GUI" arch=('any') url="http://www.haguichi.net" license=('GPL2') depends=('logmein-hamachi' 'gconf-sharp' 'notify-sharp' 'gtk2') makedepends=('make') #source=("http://launchpad.net/$pkgname/$_series/$pkgver/+download/$pkgname-$pkgver-clr4.0.tar.gz") source=("haguichi-1.0.26-clr4.0.tar.gz" fix-hamachi-not-detected.patch) sha256sums=('e65fad7961cd8152ca8a47477c55ba9d1f4a12fdc602c04d32fed1b29c2266b4' '2015c65d7081fd1fc06357c8b58603b78a063e3d38bea3dfd4b06d8fb35f49e2') prepare() { cd $srcdir/$pkgname-$pkgver patch -Np1 -i "$srcdir/fix-hamachi-not-detected.patch" } build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr } check() { cd $srcdir/$pkgname-$pkgver make -k check } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }