[arch-commits] Commit in haskell-first-class-families/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Aug 2 12:23:28 UTC 2020
Date: Sunday, August 2, 2020 @ 12:23:28
Author: felixonmars
Revision: 667628
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-first-class-families/repos/community-staging-x86_64/PKGBUILD
(from rev 667627, haskell-first-class-families/trunk/PKGBUILD)
Deleted:
haskell-first-class-families/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-02 12:23:12 UTC (rev 667627)
+++ PKGBUILD 2020-08-02 12:23:28 UTC (rev 667628)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=first-class-families
-pkgname=haskell-first-class-families
-pkgver=0.8.0.0
-pkgrel=12
-pkgdesc="First class type families"
-url="https://github.com/Lysxia/first-class-families"
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc' 'haskell-doctest' 'haskell-glob')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('e69265483b2434fc2da43762a56a08e3ce563e0f03b498ca22af5becad032cbba01b78555990e156acf43a3354d9ebb58c22f26082181aeaf626535754f98750')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i 's/< *4.14/<5/' $_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 --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
- 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
-}
-
-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-first-class-families/repos/community-staging-x86_64/PKGBUILD (from rev 667627, haskell-first-class-families/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-02 12:23:28 UTC (rev 667628)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=first-class-families
+pkgname=haskell-first-class-families
+pkgver=0.8.0.0
+pkgrel=13
+pkgdesc="First class type families"
+url="https://github.com/Lysxia/first-class-families"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e69265483b2434fc2da43762a56a08e3ce563e0f03b498ca22af5becad032cbba01b78555990e156acf43a3354d9ebb58c22f26082181aeaf626535754f98750')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/< *4.14/<5/' $_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 --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+ 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
+}
+
+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