[arch-commits] Commit in haskell-serialise/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 15 02:05:12 UTC 2022
Date: Sunday, May 15, 2022 @ 02:05:11
Author: felixonmars
Revision: 1205751
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-serialise/repos/community-staging-x86_64/PKGBUILD
(from rev 1205750, haskell-serialise/trunk/PKGBUILD)
Deleted:
haskell-serialise/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 02:04:59 UTC (rev 1205750)
+++ PKGBUILD 2022-05-15 02:05:11 UTC (rev 1205751)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=serialise
-pkgname=haskell-serialise
-pkgver=0.2.4.0
-pkgrel=48
-pkgdesc="A binary serialisation library for Haskell values"
-url="https://github.com/well-typed/cborg"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-cborg' 'haskell-half' 'haskell-hashable' 'haskell-primitive'
- 'haskell-strict' 'haskell-these' 'haskell-unordered-containers' 'haskell-vector')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-tasty'
- 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('de575c239ae8802ef8f1342a8a3c3360e83971a9178369cb0e9eaa1698ffe189a51de62ba7b6f4ff25a582f10bf0e346daf39a4e56792ba34d6df550eb34043f')
-
-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
- 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.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
- rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
-}
Copied: haskell-serialise/repos/community-staging-x86_64/PKGBUILD (from rev 1205750, haskell-serialise/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 02:05:11 UTC (rev 1205751)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=serialise
+pkgname=haskell-serialise
+pkgver=0.2.4.0
+pkgrel=49
+pkgdesc="A binary serialisation library for Haskell values"
+url="https://github.com/well-typed/cborg"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cborg' 'haskell-half' 'haskell-hashable' 'haskell-primitive'
+ 'haskell-strict' 'haskell-these' 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('de575c239ae8802ef8f1342a8a3c3360e83971a9178369cb0e9eaa1698ffe189a51de62ba7b6f4ff25a582f10bf0e346daf39a4e56792ba34d6df550eb34043f')
+
+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
+ 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.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+ rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.txt
+}
More information about the arch-commits
mailing list