[arch-commits] Commit in haskell-tomland/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 15 01:23:29 UTC 2022
Date: Sunday, May 15, 2022 @ 01:23:28
Author: felixonmars
Revision: 1205533
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-tomland/repos/community-staging-x86_64/PKGBUILD
(from rev 1205532, haskell-tomland/trunk/PKGBUILD)
Deleted:
haskell-tomland/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 01:23:14 UTC (rev 1205532)
+++ PKGBUILD 2022-05-15 01:23:28 UTC (rev 1205533)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: berberman <hatsue at typed.icu>
-
-_hkgname=tomland
-pkgname=haskell-tomland
-pkgver=1.3.3.1
-pkgrel=40
-pkgdesc="Implementation of bidirectional TOML serialization."
-url="https://github.com/kowainik/tomland"
-license=('MPL2')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hashable' 'haskell-megaparsec' 'haskell-parser-combinators'
- 'haskell-unordered-containers' 'haskell-validation-selective')
-makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 'haskell-hspec-hedgehog'
- 'haskell-hspec-megaparsec')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('a5b6af6300e3f5b55046ee454a84af1498558bd8ad810d1afdcacc67d47f0929189a988ee00fe1e70442661606385a74397e56141254e862b1fd686a53341a6e')
-
-prepare(){
- cd $_hkgname-$pkgver
- gen-setup
- uusi -u hedgehog -u hspec $_hkgname.cabal
-}
-
-build() {
- cd $_hkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
- --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
- --ghc-option='-pie'
-
- runhaskell Setup build $MAKEFLAGS
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
- cd $_hkgname-$pkgver
- runhaskell Setup test --show-details=direct
-}
-
-package() {
- cd $_hkgname-$pkgver
-
- install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
- install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
- runhaskell Setup copy --destdir="$pkgdir"
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}
Copied: haskell-tomland/repos/community-staging-x86_64/PKGBUILD (from rev 1205532, haskell-tomland/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 01:23:28 UTC (rev 1205533)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: berberman <hatsue at typed.icu>
+
+_hkgname=tomland
+pkgname=haskell-tomland
+pkgver=1.3.3.1
+pkgrel=41
+pkgdesc="Implementation of bidirectional TOML serialization."
+url="https://github.com/kowainik/tomland"
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-megaparsec' 'haskell-parser-combinators'
+ 'haskell-unordered-containers' 'haskell-validation-selective')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 'haskell-hspec-hedgehog'
+ 'haskell-hspec-megaparsec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('a5b6af6300e3f5b55046ee454a84af1498558bd8ad810d1afdcacc67d47f0929189a988ee00fe1e70442661606385a74397e56141254e862b1fd686a53341a6e')
+
+prepare(){
+ cd $_hkgname-$pkgver
+ gen-setup
+ uusi -u hedgehog -u hspec $_hkgname.cabal
+}
+
+build() {
+ cd $_hkgname-$pkgver
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+ --ghc-option='-pie'
+
+ runhaskell Setup build $MAKEFLAGS
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test --show-details=direct
+}
+
+package() {
+ cd $_hkgname-$pkgver
+
+ install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+ install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+ runhaskell Setup copy --destdir="$pkgdir"
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list