[arch-commits] Commit in git-repair/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri May 8 06:07:09 UTC 2020


    Date: Friday, May 8, 2020 @ 06:07:08
  Author: felixonmars
Revision: 625535

archrelease: copy trunk to community-x86_64

Added:
  git-repair/repos/community-x86_64/PKGBUILD
    (from rev 625533, git-repair/trunk/PKGBUILD)
Deleted:
  git-repair/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 33 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 06:07:07 UTC (rev 625534)
+++ PKGBUILD	2020-05-08 06:07:08 UTC (rev 625535)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=git-repair
-pkgver=1.20200102
-pkgrel=75
-pkgdesc="Repairs a damaged git repository"
-url="https://git-repair.branchable.com/"
-license=("AGPL3")
-arch=('x86_64')
-depends=('git' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 'haskell-data-default'
-         'haskell-filepath-bytestring' 'haskell-hslogger' 'haskell-ifelse'
-         'haskell-network' 'haskell-network-uri' 'haskell-optparse-applicative' 'haskell-quickcheck'
-         'haskell-split' 'haskell-unix-compat' 'haskell-utf8-string')
-makedepends=('ghc')
-source=("$pkgname::git://git-repair.branchable.com/#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  cd git-repair
-  sed -i 's/ fail / error /' Utility/HumanTime.hs
-}
-
-build() {
-  cd git-repair
-
-  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \
-    --docdir="/usr/share/doc/$pkgname" --ghc-option='-pie'
-  runhaskell Setup build
-}
-
-package() {
-  cd git-repair
-  runhaskell Setup copy --destdir="$pkgdir"
-  install -Dm644 git-repair.1 "$pkgdir"/usr/share/man/man1/git-repair.1
-
-  rm "$pkgdir"/usr/share/doc/git-repair/COPYRIGHT
-  rmdir "$pkgdir"/usr/share/doc/git-repair "$pkgdir"/usr/share/doc
-}

Copied: git-repair/repos/community-x86_64/PKGBUILD (from rev 625533, git-repair/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-08 06:07:08 UTC (rev 625535)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=git-repair
+pkgver=1.20200504
+pkgrel=1
+pkgdesc="Repairs a damaged git repository"
+url="https://git-repair.branchable.com/"
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 'haskell-data-default'
+         'haskell-filepath-bytestring' 'haskell-hslogger' 'haskell-ifelse'
+         'haskell-network' 'haskell-network-uri' 'haskell-optparse-applicative' 'haskell-quickcheck'
+         'haskell-split' 'haskell-unix-compat' 'haskell-utf8-string')
+makedepends=('ghc')
+source=("$pkgname::git://git-repair.branchable.com/#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+  cd git-repair
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \
+    --docdir="/usr/share/doc/$pkgname" --ghc-option='-pie'
+  runhaskell Setup build
+}
+
+package() {
+  cd git-repair
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -Dm644 git-repair.1 "$pkgdir"/usr/share/man/man1/git-repair.1
+
+  rm "$pkgdir"/usr/share/doc/git-repair/COPYRIGHT
+  rmdir "$pkgdir"/usr/share/doc/git-repair "$pkgdir"/usr/share/doc
+}


More information about the arch-commits mailing list