X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=archlinuxppc.git;a=blobdiff_plain;f=happy%2FPKGBUILD;fp=happy%2FPKGBUILD;h=7bcbf7e6e825acd5dc8c8186a2df185d7b8d6ec2;hp=d537f8a82e0d4f73adf70bd8873f645eaa72d527;hb=cc2b36d9071080464f32533b9233e013affdf7f9;hpb=b7adadd57cfb7af7a71b3ba6920224cb5e59a5d6 diff --git a/happy/PKGBUILD b/happy/PKGBUILD index d537f8a..7bcbf7e 100644 --- a/happy/PKGBUILD +++ b/happy/PKGBUILD @@ -18,9 +18,10 @@ source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$p build() { cd $startdir/src/${pkgname}-${pkgver} - runhaskell Setup.lhs configure --prefix=/usr || return 1 - runhaskell Setup.lhs build || return 1 - runhaskell Setup.lhs copy --destdir=$startdir/pkg || return 1 + ghc --make Setup.lhs + ./Setup configure --prefix=/usr || return 1 + ./Setup build || return 1 + ./Setup copy --destdir=$startdir/pkg || return 1 install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE }