[arch-commits] Commit in haskell-jira-wiki-markup/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Tue Aug 11 09:18:03 UTC 2020


    Date: Tuesday, August 11, 2020 @ 09:18:02
  Author: felixonmars
Revision: 674438

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-jira-wiki-markup/repos/community-staging-x86_64/PKGBUILD
    (from rev 674437, haskell-jira-wiki-markup/trunk/PKGBUILD)
Deleted:
  haskell-jira-wiki-markup/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-11 09:17:53 UTC (rev 674437)
+++ PKGBUILD	2020-08-11 09:18:02 UTC (rev 674438)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=jira-wiki-markup
-pkgname=haskell-jira-wiki-markup
-pkgver=1.3.0
-pkgrel=1
-pkgdesc="Handle Jira wiki markup"
-url="https://github.com/tarleb/jira-wiki-markup"
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('bfa13f1b54acc86aa7796421b367672d78dce9d752bb64d501068df0b87759da2170b4adb0265c3e357181d583bc3beebba8699e90763983186f61c73f9dfa62')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-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-jira-wiki-markup/repos/community-staging-x86_64/PKGBUILD (from rev 674437, haskell-jira-wiki-markup/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-11 09:18:02 UTC (rev 674438)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=jira-wiki-markup
+pkgname=haskell-jira-wiki-markup
+pkgver=1.3.2
+pkgrel=1
+pkgdesc="Handle Jira wiki markup"
+url="https://github.com/tarleb/jira-wiki-markup"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('14d68dcbdcfa9e0a7959df3a38cfe475047ad42aab9c6c3e1caee4d2491e7efb9a58e99e3b9c601726a235c592d2763016f709d5a23c6d80e1e6d2115fdce269')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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