[arch-commits] Commit in haskell-dependent-sum/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 15 02:04:30 UTC 2022
Date: Sunday, May 15, 2022 @ 02:04:29
Author: felixonmars
Revision: 1205747
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-dependent-sum/repos/community-staging-x86_64/PKGBUILD
(from rev 1205746, haskell-dependent-sum/trunk/PKGBUILD)
Deleted:
haskell-dependent-sum/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 02:04:16 UTC (rev 1205746)
+++ PKGBUILD 2022-05-15 02:04:29 UTC (rev 1205747)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=dependent-sum
-pkgname=haskell-dependent-sum
-pkgver=0.7.1.0
-pkgrel=104
-pkgdesc="Dependent sum type"
-url="https://github.com/obsidiansystems/dependent-sum"
-license=("custom:PublicDomain")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-constraints-extras' 'haskell-some')
-makedepends=('ghc' 'uusi')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('81cb55907f321f62bea095ae72e9711095c4cb7378fa66fbabc483a9f61b462a')
-
-prepare() {
- cd $_hkgname-$pkgver
- uusi -u some $_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
-}
-
-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/repos/community-staging-x86_64/PKGBUILD (from rev 1205746, haskell-dependent-sum/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 02:04:29 UTC (rev 1205747)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=dependent-sum
+pkgname=haskell-dependent-sum
+pkgver=0.7.1.0
+pkgrel=105
+pkgdesc="Dependent sum type"
+url="https://github.com/obsidiansystems/dependent-sum"
+license=("custom:PublicDomain")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-constraints-extras' 'haskell-some')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha256sums=('81cb55907f321f62bea095ae72e9711095c4cb7378fa66fbabc483a9f61b462a')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ uusi -u some $_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
+}
+
+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