2012-11-25 18:43:53 +00:00
|
|
|
|
|
|
|
buildarch=6
|
|
|
|
|
|
|
|
pkgname="git-annex"
|
2013-03-15 17:02:19 +00:00
|
|
|
pkgver=3.20130216
|
2012-11-25 18:43:53 +00:00
|
|
|
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" "uuid" "rsync" "pcre" "curl" "openssh" "libidn" "gsasl")
|
|
|
|
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")
|
2013-03-15 17:02:19 +00:00
|
|
|
md5sums=("64146373f92d9ed59161ca1bc3981a56")
|
2012-11-25 18:43:53 +00:00
|
|
|
else
|
|
|
|
source=("http://ftp.uk.debian.org/debian/pool/main/g/git-annex/git-annex_${pkgver}_armel.deb")
|
2013-03-15 17:02:19 +00:00
|
|
|
md5sums=("b70ea62c4b32f757bb3e35b74f60f0a8")
|
2012-11-25 18:43:53 +00:00
|
|
|
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/(libpcre\.so\.)3/\11/g" -e "s/(libffi\.so\.)5/\16/g" \
|
2013-03-15 17:02:19 +00:00
|
|
|
-e "s/(libgnutls\.so\.2)6/\18/g" -i "${pkgdir}/usr/bin/git-annex"
|
2012-11-25 18:43:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim: set noet ff=unix:
|