mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
979 B
Bash
34 lines
979 B
Bash
|
|
buildarch=6
|
|
|
|
pkgname="git-annex"
|
|
pkgver=4.20130417
|
|
pkgrel=1
|
|
pkgdesc="manage files with git, without checking their contents into git"
|
|
url="http://git-annex.branchable.com/"
|
|
license=("GPL3")
|
|
arch=("arm" "armv7h")
|
|
depends=("libffi" "gmp" "git" "rsync" "curl" "openssh" "libidn" "gsasl" "libxml2" "lsof")
|
|
makedepends=("binutils")
|
|
options=("!docs")
|
|
if [ "${CARCH}" = "armv7h" ]; then
|
|
source=("http://ftp.uk.debian.org/debian/pool/main/g/git-annex/git-annex_${pkgver}_armhf.deb")
|
|
md5sums=("172006cfe420ed9e7f7377c36ed94841")
|
|
else
|
|
source=("http://ftp.uk.debian.org/debian/pool/main/g/git-annex/git-annex_${pkgver}_armel.deb")
|
|
md5sums=("ab66d9a9044a6e8ab7b2f0be7831b31b")
|
|
fi
|
|
|
|
build() {
|
|
if [ "${CARCH}" = "armv7h" ]; then
|
|
ar x "git-annex_${pkgver}_armhf.deb"
|
|
else
|
|
ar x "git-annex_${pkgver}_armel.deb"
|
|
fi
|
|
tar -zxf data.tar.gz -C "${pkgdir}"
|
|
|
|
sed -re "s/(libffi\.so\.)5/\16/g" \
|
|
-e "s/(libgnutls\.so\.2)6/\18/g" -i "${pkgdir}/usr/bin/git-annex"
|
|
}
|
|
|
|
# vim: set noet ff=unix:
|