Date: Wednesday, March 24, 2021 @ 19:05:37 Author: felixonmars Revision: 901725
upgpkg: haskell-shellmet 0.0.4.0-1: rebuild with shellmet 0.0.4.0 Modified: haskell-shellmet/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-03-24 19:00:49 UTC (rev 901724) +++ PKGBUILD 2021-03-24 19:05:37 UTC (rev 901725) @@ -3,21 +3,20 @@ _hkgname=shellmet pkgname=haskell-shellmet -pkgver=0.0.3.1 -pkgrel=67 +pkgver=0.0.4.0 +pkgrel=1 pkgdesc="Shellmet provides easy and convenient way to call shell commands from Haskell programs." url="https://github.com/kowainik/shellmet" license=('MPL2') arch=('x86_64') depends=('ghc-libs') -makedepends=('ghc' 'haskell-doctest' 'haskell-glob') +makedepends=('ghc' 'uusi' 'haskell-doctest' 'haskell-glob' 'haskell-markdown-unlit') source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") -sha256sums=('b9f084f47a6ae711b1e505e2f90d8d202d94f62950be98ceafc668b306473b25') +sha512sums=('965b04613555e4ab0a71a33b40c6940b07a724012de92667371555b9a6375a559b7e5239fa90219c53c2de3e27d9afb47a45243597807483b6ea00ca095e28f1') prepare(){ cd $_hkgname-$pkgver - echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs - sed -i '/executable readme/a\ buildable: False' $_hkgname.cabal + gen-setup } build() { @@ -49,4 +48,6 @@ runhaskell Setup copy --destdir="$pkgdir" install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + mv "$pkgdir"/usr/bin/{,shellmet-}readme }
