1 # Maintainer: Ben Morgan <neembi@googlemail.com>
5 pkgdesc="Several programs providing action execution based on network connectivity"
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')
11 source=(https://github.com/downloads/cassava/$pkgname/$pkgname-$pkgver.tar.gz)
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
20 cd $srcdir/$pkgname-$pkgver
23 runhaskell Setup copy --destdir=$pkgdir
26 cd $pkgdir/usr/share/doc/$pkgname
31 md5sums=('490606275cf0cd71d6bf1f33a18c5336')