[arch-commits] Commit in git-repair/repos (4 files)

Felix Yan felixonmars at archlinux.org
Mon Jan 23 09:02:13 UTC 2017


    Date: Monday, January 23, 2017 @ 09:02:12
  Author: felixonmars
Revision: 208486

archrelease: copy trunk to community-i686, community-x86_64

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

---------------------------+
 community-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: git-repair/repos/community-i686/PKGBUILD (from rev 208485, git-repair/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-01-23 09:02:12 UTC (rev 208486)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=git-repair
+pkgver=1.20161118
+pkgrel=1
+pkgdesc="Repairs a damaged git repisitory"
+url="http://git-repair.branchable.com/"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('git')
+makedepends=("ghc=8.0.1" "haskell-async" "haskell-data-default" "haskell-exceptions"
+             "haskell-hslogger" "haskell-ifelse" "haskell-missingh" "haskell-mtl" "haskell-network"
+             "haskell-network-uri" "haskell-optparse-applicative" "haskell-quickcheck"
+             "haskell-text" "haskell-unix-compat" "haskell-utf8-string")
+source=("$pkgname::git://git-repair.branchable.com/#tag=$pkgver")
+sha256sums=('SKIP')
+
+build() {
+  cd git-repair
+  
+  runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/$pkgname" \
+    -fnetwork-uri
+  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/GPL
+  rmdir "$pkgdir"/usr/share/doc/git-repair "$pkgdir"/usr/share/doc
+}

Copied: git-repair/repos/community-x86_64/PKGBUILD (from rev 208485, git-repair/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-01-23 09:02:12 UTC (rev 208486)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=git-repair
+pkgver=1.20161118
+pkgrel=1
+pkgdesc="Repairs a damaged git repisitory"
+url="http://git-repair.branchable.com/"
+license=("GPL")
+arch=('i686' 'x86_64')
+depends=('git')
+makedepends=("ghc=8.0.1" "haskell-async" "haskell-data-default" "haskell-exceptions"
+             "haskell-hslogger" "haskell-ifelse" "haskell-missingh" "haskell-mtl" "haskell-network"
+             "haskell-network-uri" "haskell-optparse-applicative" "haskell-quickcheck"
+             "haskell-text" "haskell-unix-compat" "haskell-utf8-string")
+source=("$pkgname::git://git-repair.branchable.com/#tag=$pkgver")
+sha256sums=('SKIP')
+
+build() {
+  cd git-repair
+  
+  runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/$pkgname" \
+    -fnetwork-uri
+  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/GPL
+  rmdir "$pkgdir"/usr/share/doc/git-repair "$pkgdir"/usr/share/doc
+}



More information about the arch-commits mailing list