[arch-commits] Commit in haskell-structured/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 15 01:55:44 UTC 2022
Date: Sunday, May 15, 2022 @ 01:55:44
Author: felixonmars
Revision: 1205705
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-structured/repos/community-staging-x86_64/PKGBUILD
(from rev 1205704, haskell-structured/trunk/PKGBUILD)
Deleted:
haskell-structured/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 01:55:31 UTC (rev 1205704)
+++ PKGBUILD 2022-05-15 01:55:44 UTC (rev 1205705)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=structured
-pkgname=haskell-structured
-pkgver=0.1.1
-pkgrel=54
-pkgdesc="Structure (hash) of your data types"
-url="https://github.com/phadej/binary-tagged"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-hashable'
- 'haskell-scientific' 'haskell-tagged' 'haskell-time-compat' 'haskell-unordered-containers'
- 'haskell-uuid-types' 'haskell-vector')
-makedepends=('ghc' 'uusi')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('2edece8d10d21535bfaa77c9a71a2b1cfdcf45d9869994b0cd051fec4d9f781a4e475abed4ca109e46ebdd0968d119e233cee2991c70efcd2b3536a69260f71f')
-
-prepare() {
- cd $_hkgname-$pkgver
- gen-setup
- uusi -u hashable $_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
- 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-structured/repos/community-staging-x86_64/PKGBUILD (from rev 1205704, haskell-structured/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 01:55:44 UTC (rev 1205705)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=structured
+pkgname=haskell-structured
+pkgver=0.1.1
+pkgrel=55
+pkgdesc="Structure (hash) of your data types"
+url="https://github.com/phadej/binary-tagged"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-hashable'
+ 'haskell-scientific' 'haskell-tagged' 'haskell-time-compat' 'haskell-unordered-containers'
+ 'haskell-uuid-types' 'haskell-vector')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2edece8d10d21535bfaa77c9a71a2b1cfdcf45d9869994b0cd051fec4d9f781a4e475abed4ca109e46ebdd0968d119e233cee2991c70efcd2b3536a69260f71f')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ gen-setup
+ uusi -u hashable $_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
+ 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