[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Mon Jan 23 09:01:16 UTC 2017


    Date: Monday, January 23, 2017 @ 09:01:15
  Author: felixonmars
Revision: 208485

addpkg: git-repair 1.20161118-1

Added:
  git-repair/
  git-repair/repos/
  git-repair/trunk/
  git-repair/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: git-repair/trunk/PKGBUILD
===================================================================
--- git-repair/trunk/PKGBUILD	                        (rev 0)
+++ git-repair/trunk/PKGBUILD	2017-01-23 09:01:15 UTC (rev 208485)
@@ -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
+}


Property changes on: git-repair/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list