updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / is-net / PKGBUILD
blobf55bc3df600d292fad80ebd13a268b18a5323ba7
1 # Maintainer: Ben Morgan <neembi@googlemail.com>
2 pkgname=is-net
3 pkgver=0.10.1
4 pkgrel=2
5 pkgdesc="Several programs providing action execution based on network connectivity"
6 license=('MIT')
7 arch=('i686' 'x86_64')
8 url="https://github.com/cassava/is-net"
9 makedepends=('ghc' 'haskell-haskell98=1.1.0.1' 'haskell-process=1.0.1.5' 'haskell-unix=2.4.2.0')
10 depends=(gmp ifplugd)
11 source=(https://github.com/downloads/cassava/$pkgname/$pkgname-$pkgver.tar.gz)
13 build() {
14   cd $srcdir/$pkgname-$pkgver
15   runhaskell Setup.lhs configure -O --prefix=/usr --datadir=/usr/share/doc --datasubdir=$pkgname --docdir=/usr/share/licenses/$pkgname
16   runhaskell Setup build
19 package() {
20   cd $srcdir/$pkgname-$pkgver
22   # Install files
23   runhaskell Setup copy --destdir=$pkgdir
25   # Adjust a few things
26   cd $pkgdir/usr/share/doc/$pkgname
27   mv doc/examples/* ./
28   rm -r doc
31 md5sums=('490606275cf0cd71d6bf1f33a18c5336')