Commit 54b04b05 authored by Thomas Jost's avatar Thomas Jost Committed by Caleb Maclennan

Cleanup

parent 83fae442
# Please submit patches to https://github.com/ChimeraCoder/PKGBUILDS/blob/master/git-annex-bin/PKGBUILD
# Maintainer: <dev@chimeracoder.net>
# Contributor: Thomas Jost <schnouki@schnouki.net>
pkgname=git-annex-bin
pkgrel=2
pkgdesc='Precompiled version of git-annex, webapp and assistant included.'
arch=('i686' 'x86_64')
url="http://git-annex.branchable.com/"
license=(GPL3)
provides=(git-annex)
conflicts=(git-annex git-annex-standalone)
makedepends=(curl sed)
if [ "$CARCH" = "i686" ] ; then
depends=(git util-linux openssh rsync curl glibc gnupg wget findutils libyaml \
libffi5 zlib libxml2 gmp xz lsof coreutils gsasl gnutls p11-kit libtasn1-3 nettle \
libidn libntlm libgnutls26 krb5 libgcrypt icu48 dnsutils)
_arch=i386
elif [ "$CARCH" = "x86_64" ] ; then
#depends=(git util-linux openssh rsync curl gnupg wget findutils xz lsof coreutils \
# lib32-gnutls lib32-libxml2 lib32-zlib lib32-glibc lib32-gmp lib32-p11-kit \
# lib32-libtasn1-3 lib32-nettle lib32-libidn lib32-libyaml lib32-gsasl lib32-libntlm \
# lib32-libffi5 lib32-libgnutls26 lib32-krb5 lib32-libgcrypt)
depends=(git util-linux openssh rsync curl glibc gnupg wget findutils libyaml \
libffi5 zlib libxml2 gmp xz lsof coreutils gsasl gnutls p11-kit libtasn1-3 nettle \
libidn libntlm libgnutls26 krb5 libgcrypt icu48 dnsutils)
_arch=amd64
fi
_url=https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-${_arch}.tar.gz
_info=$(curl ${_url}.info)
sha256sums=($(echo "${_info}" | sed 's/.*keyName = "\(.*\).tar.gz".*/\1/'))
#pkgver=$(echo "${_info}" | sed 's/.*distributionVersion = "\([0-9.]*\)".*/\1/')
pkgver=5.20131230
_file=git-annex-standalone-${_arch}-${pkgver}.tar.gz
source=(${_file}::${_url})
package() {
cd $srcdir/git-annex.linux
install -Dm755 shimmed/git-annex/git-annex "$pkgdir/usr/bin/git-annex"
ln -s git-annex "$pkgdir/usr/bin/git-annex-shell"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment