[arch-commits] Commit in haskell-dependent-sum-template/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 15 02:49:51 UTC 2022
Date: Sunday, May 15, 2022 @ 02:49:51
Author: felixonmars
Revision: 1205817
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-dependent-sum-template/repos/community-staging-x86_64/PKGBUILD
(from rev 1205816, haskell-dependent-sum-template/trunk/PKGBUILD)
Deleted:
haskell-dependent-sum-template/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 02:49:36 UTC (rev 1205816)
+++ PKGBUILD 2022-05-15 02:49:51 UTC (rev 1205817)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=dependent-sum-template
-pkgname=haskell-dependent-sum-template
-pkgver=0.1.1.1
-pkgrel=19
-pkgdesc="Template Haskell code to generate instances of classes in dependent-sum package"
-url="https://github.com/obsidiansystems/dependent-sum"
-license=("custom:PublicDomain")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-dependent-sum' 'haskell-th-abstraction' 'haskell-th-extras')
-makedepends=('ghc' 'haskell-constraints-extras')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('d46fc18d5c2f5d385f901777e982e8a1ae9094ba7e68f7e4997a82036375ae0f')
-
-build() {
- cd $_hkgname-$pkgver
-
- # Tests are broken: https://github.com/obsidiansystems/dependent-sum/pull/57#issuecomment-865277051
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --disable-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"
-}
Copied: haskell-dependent-sum-template/repos/community-staging-x86_64/PKGBUILD (from rev 1205816, haskell-dependent-sum-template/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 02:49:51 UTC (rev 1205817)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=dependent-sum-template
+pkgname=haskell-dependent-sum-template
+pkgver=0.1.1.1
+pkgrel=20
+pkgdesc="Template Haskell code to generate instances of classes in dependent-sum package"
+url="https://github.com/obsidiansystems/dependent-sum"
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dependent-sum' 'haskell-th-abstraction' 'haskell-th-extras')
+makedepends=('ghc' 'haskell-constraints-extras')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha256sums=('d46fc18d5c2f5d385f901777e982e8a1ae9094ba7e68f7e4997a82036375ae0f')
+
+build() {
+ cd $_hkgname-$pkgver
+
+ # Tests are broken: https://github.com/obsidiansystems/dependent-sum/pull/57#issuecomment-865277051
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --disable-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"
+}
More information about the arch-commits
mailing list