[arch-commits] Commit in git-annex/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Aug 17 03:35:14 UTC 2019
Date: Saturday, August 17, 2019 @ 03:35:14
Author: felixonmars
Revision: 499925
upgpkg: git-annex 7.20190730-10
rebuild with persistent 2.10.1
Modified:
git-annex/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-17 03:32:58 UTC (rev 499924)
+++ PKGBUILD 2019-08-17 03:35:14 UTC (rev 499925)
@@ -3,7 +3,7 @@
pkgname=git-annex
pkgver=7.20190730
-pkgrel=9
+pkgrel=10
pkgdesc="Manage files with git, without checking their contents into git"
url="https://git-annex.branchable.com/"
license=("AGPL3")
@@ -34,18 +34,18 @@
build() {
cd git-annex
- runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla \
- --docdir="/usr/share/doc/$pkgname" \
- -ftorrentparser -fproduction -fpairing -fwebapp \
- -fassistant -fwebdav -fs3 -f-benchmark -fdbus -fmagicmime -f-networkbsd
- runhaskell Setup build
+ sed -e 's/ghc --make/ghc -dynamic --make/' \
+ -e 's|--ghc-options|-O --prefix=/usr --enable-executable-dynamic --disable-library-vanilla --docdir=/usr/share/doc/'$pkgname' --ghc-options|' \
+ -i Makefile
+ make GHC="ghc -dynamic" BUILDER=./Setup
}
package() {
cd git-annex
- runhaskell Setup copy --destdir="$pkgdir"
- make GHC="ghc -dynamic" BUILDER=true DESTDIR="$pkgdir" install-desktop install-completions
+ make GHC="ghc -dynamic" BUILDER=./Setup DESTDIR="$pkgdir" install
- rm "$pkgdir"/usr/share/doc/git-annex/COPYRIGHT
- rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+ # FS#62775
+ install -dm755 "$pkgdir"/usr/share/zsh/site-functions
+ mv "$pkgdir"/usr/share/zsh/{vendor-completions,site-functions}/_git-annex
+ rmdir "$pkgdir"/usr/share/zsh/vendor-completions
}
More information about the arch-commits
mailing list