[arch-commits] Commit in haskell-tomland/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Feb 20 11:49:55 UTC 2021
Date: Saturday, February 20, 2021 @ 11:49:55
Author: felixonmars
Revision: 866755
upgpkg: haskell-tomland 1.3.2.0-1: rebuild with tomland 1.3.2.0
Modified:
haskell-tomland/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-20 11:42:23 UTC (rev 866754)
+++ PKGBUILD 2021-02-20 11:49:55 UTC (rev 866755)
@@ -3,8 +3,8 @@
_hkgname=tomland
pkgname=haskell-tomland
-pkgver=1.3.1.0
-pkgrel=58
+pkgver=1.3.2.0
+pkgrel=1
pkgdesc="Implementation of bidirectional TOML serialization."
url="https://github.com/kowainik/tomland"
license=('MPL2')
@@ -11,15 +11,14 @@
arch=('x86_64')
depends=('ghc-libs' 'haskell-hashable' 'haskell-megaparsec' 'haskell-parser-combinators'
'haskell-unordered-containers' 'haskell-validation-selective')
-makedepends=('ghc' 'haskell-hedgehog' 'haskell-hspec' 'haskell-hspec-golden'
- 'haskell-hspec-hedgehog' 'haskell-hspec-megaparsec')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 'haskell-hspec-golden'
+ 'haskell-hspec-hedgehog' 'haskell-hspec-megaparsec' 'haskell-markdown-unlit')
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('2a68260c2d765d396097965321d76022fa0746b186c301c5cc198825d7ebc37d60fd9951c1263a196f98f2cdab4db6157dc5b80efe6532c89bd76d95005c56db')
+sha512sums=('c1b70204155822647f279327c6c3cd048c2b134d5361b1b100f0d2b81c97cf6e415da1f83b514b5564735240b894d8c0b91b1f1428a872816c9f2b3117a01451')
prepare(){
cd $_hkgname-$pkgver
- echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
- sed -i '/^executable/a\ buildable: False' $_hkgname.cabal
+ gen-setup
}
build() {
@@ -51,4 +50,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/{,tomland-}readme
}
More information about the arch-commits
mailing list