[arch-commits] Commit in haskell-githash/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Aug 4 08:54:37 UTC 2020
Date: Tuesday, August 4, 2020 @ 08:54:37
Author: felixonmars
Revision: 668790
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-githash/repos/community-staging-x86_64/PKGBUILD
(from rev 668789, haskell-githash/trunk/PKGBUILD)
Deleted:
haskell-githash/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-04 08:54:25 UTC (rev 668789)
+++ PKGBUILD 2020-08-04 08:54:37 UTC (rev 668790)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=githash
-pkgname=haskell-githash
-pkgver=0.1.4.0
-pkgrel=60
-pkgdesc="Some handy Template Haskell splices for including the current git hash and branch in the code of your project"
-url="https://github.com/snoyberg/githash"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'git')
-makedepends=('ghc' 'haskell-hpack' 'haskell-hspec' 'haskell-temporary' 'haskell-unliftio')
-source=("git+https://github.com/snoyberg/githash.git#tag=githash-$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cd $_hkgname
- hpack
-}
-
-build() {
- cd $_hkgname
-
- 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
- runhaskell Setup test
-}
-
-package() {
- cd $_hkgname
-
- 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-githash/repos/community-staging-x86_64/PKGBUILD (from rev 668789, haskell-githash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-04 08:54:37 UTC (rev 668790)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=githash
+pkgname=haskell-githash
+pkgver=0.1.4.0
+pkgrel=61
+pkgdesc="Some handy Template Haskell splices for including the current git hash and branch in the code of your project"
+url="https://github.com/snoyberg/githash"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'git')
+makedepends=('ghc' 'haskell-hpack' 'haskell-hspec' 'haskell-temporary' 'haskell-unliftio')
+source=("git+https://github.com/snoyberg/githash.git#tag=githash-$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cd $_hkgname
+ hpack
+}
+
+build() {
+ cd $_hkgname
+
+ 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
+ runhaskell Setup test
+}
+
+package() {
+ cd $_hkgname
+
+ 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