Date: Sunday, August 20, 2017 @ 09:06:30 Author: felixonmars Revision: 252656
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: git-repair/repos/community-staging-i686/ git-repair/repos/community-staging-i686/PKGBUILD (from rev 252655, git-repair/trunk/PKGBUILD) git-repair/repos/community-staging-x86_64/ git-repair/repos/community-staging-x86_64/PKGBUILD (from rev 252655, git-repair/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) Copied: git-repair/repos/community-staging-i686/PKGBUILD (from rev 252655, git-repair/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-08-20 09:06:30 UTC (rev 252656) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=git-repair +pkgver=1.20170626 +pkgrel=7 +pkgdesc="Repairs a damaged git repisitory" +url="http://git-repair.branchable.com/" +license=("GPL") +arch=('i686' 'x86_64') +depends=('git' 'ghc' "haskell-async" "haskell-data-default" "haskell-exceptions" "haskell-hslogger" + "haskell-ifelse" "haskell-mtl" "haskell-network" "haskell-network-uri" + "haskell-optparse-applicative" "haskell-quickcheck" "haskell-split" "haskell-text" + "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 \ + --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-staging-x86_64/PKGBUILD (from rev 252655, git-repair/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-08-20 09:06:30 UTC (rev 252656) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=git-repair +pkgver=1.20170626 +pkgrel=7 +pkgdesc="Repairs a damaged git repisitory" +url="http://git-repair.branchable.com/" +license=("GPL") +arch=('i686' 'x86_64') +depends=('git' 'ghc' "haskell-async" "haskell-data-default" "haskell-exceptions" "haskell-hslogger" + "haskell-ifelse" "haskell-mtl" "haskell-network" "haskell-network-uri" + "haskell-optparse-applicative" "haskell-quickcheck" "haskell-split" "haskell-text" + "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 \ + --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 +}