[arch-commits] Commit in haskell-lens-action/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu May 26 14:06:04 UTC 2022
Date: Thursday, May 26, 2022 @ 14:06:04
Author: felixonmars
Revision: 1210454
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-lens-action/repos/community-staging-x86_64/PKGBUILD
(from rev 1210453, haskell-lens-action/trunk/PKGBUILD)
Deleted:
haskell-lens-action/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-26 14:05:51 UTC (rev 1210453)
+++ PKGBUILD 2022-05-26 14:06:04 UTC (rev 1210454)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=lens-action
-pkgname=haskell-lens-action
-pkgver=0.2.6
-pkgrel=48
-pkgdesc="Monadic Getters and Folds"
-url="https://github.com/ekmett/lens-action"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-comonad' 'haskell-contravariant' 'haskell-lens'
- 'haskell-profunctors' 'haskell-semigroupoids')
-makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('44f0639063db6ec80dd2cee274b0fe9135330ee12a007329d419cfe1522738169e0915b32250a340621d4084b4dd2c54a84465e24f4ebd943d6bda59b5d380da')
-
-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-lens-action/repos/community-staging-x86_64/PKGBUILD (from rev 1210453, haskell-lens-action/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-26 14:06:04 UTC (rev 1210454)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=lens-action
+pkgname=haskell-lens-action
+pkgver=0.2.6
+pkgrel=49
+pkgdesc="Monadic Getters and Folds"
+url="https://github.com/ekmett/lens-action"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-comonad' 'haskell-contravariant' 'haskell-lens'
+ 'haskell-profunctors' 'haskell-semigroupoids')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('44f0639063db6ec80dd2cee274b0fe9135330ee12a007329d419cfe1522738169e0915b32250a340621d4084b4dd2c54a84465e24f4ebd943d6bda59b5d380da')
+
+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