Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Caleb Maclennan
aur-git-annex-bin
Commits
89147352
Commit
89147352
authored
Jul 15, 2015
by
Thomas Jost
Committed by
Caleb Maclennan
Jul 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use arch-specific URLs and sha256sums
parent
54b04b05
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
28 deletions
+36
-28
.SRCINFO
.SRCINFO
+7
-1
PKGBUILD
PKGBUILD
+15
-14
update-pkgbuild.py
update-pkgbuild.py
+14
-13
No files found.
.SRCINFO
View file @
89147352
pkgbase = git-annex-bin
pkgdesc = Standalone precompiled version of git-annex with no Haskell dependencies, batteries included.
pkgver = 5.20150710
pkgrel =
2
pkgrel =
3
url = http://git-annex.branchable.com/
arch = i686
arch = x86_64
...
...
@@ -27,6 +27,12 @@ pkgbase = git-annex-bin
source = runshell.patch
sha256sums = c7d12ba3f3a00736d0d22e18e76721314d461561adcf48cbd102413e5e75be92
sha256sums = 173b3f0dc5a314559574113a2cc1242b61ff7caebbd3be52d3090b7a91e1268f
source_i686 = git-annex-standalone-i386-5.20150710.tar.gz::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-i386.tar.gz
sha256sums_i686 = 8901ab302b3bbbacea11b34a1213487b1d2c1f1b7742f220fb743b644ea84362
source_x86_64 = git-annex-standalone-amd64-5.20150710.tar.gz::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
sha256sums_x86_64 = be3f0f2a4a317bf9ee24db82821dd147e1ab9a1c6f0fbfae4a36aee6a22bbfce
source_armv6h = git-annex-standalone-armel-5.20150710.tar.gz::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-armel.tar.gz
sha256sums_armv6h = 9e3116ae104e81784579907f47e30e1661b0eeb768533be120151b9ee704e658
pkgname = git-annex-bin
PKGBUILD
View file @
89147352
...
...
@@ -12,7 +12,7 @@
pkgname
=
git-annex-bin
pkgver
=
5.20150710
pkgrel
=
2
pkgrel
=
3
pkgdesc
=
'Standalone precompiled version of git-annex with no Haskell dependencies, batteries included.'
arch
=(
'i686'
'x86_64'
'armv6h'
)
url
=
'http://git-annex.branchable.com/'
...
...
@@ -32,19 +32,20 @@ _rmbin=('cp' 'curl' 'git' 'gpg' 'lsof' 'rsync' 'sh' 'sha1sum' 'sha224sum' \
# all of these can be left out if not deleting $_rmbin binaries
depends
=(
'coreutils'
'curl'
'git'
'gnupg'
'lsof'
'rsync'
'bash'
'openssh'
'wget'
'findutils'
'dnsutils'
'aria2'
)
if
[[
$CARCH
==
"x86_64"
]]
;
then
_file
=
git-annex-standalone-amd64-
${
pkgver
}
.tar.gz
source
+
=(
"
${
_file
}
::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz"
)
sha256sums+
=(
'be3f0f2a4a317bf9ee24db82821dd147e1ab9a1c6f0fbfae4a36aee6a22bbfce'
)
elif
[[
$CARCH
==
"i686"
]]
;
then
_file
=
git-annex-standalone-i386-
${
pkgver
}
.tar.gz
source
+
=(
"
${
_file
}
::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-i386.tar.gz"
)
sha256sums+
=(
'8901ab302b3bbbacea11b34a1213487b1d2c1f1b7742f220fb743b644ea84362'
)
elif
[[
$CARCH
==
"armv6h"
]]
;
then
_file
=
git-annex-standalone-armel-
${
pkgver
}
.tar.gz
source
+
=(
"
${
_file
}
::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-armel.tar.gz"
)
sha256sums+
=(
'9e3116ae104e81784579907f47e30e1661b0eeb768533be120151b9ee704e658'
)
fi
_file_x86_64
=
"git-annex-standalone-amd64-
${
pkgver
}
.tar.gz"
_url_x86_64
=
"https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz"
source_x86_64
=(
"
${
_file_x86_64
}
::
${
_url_x86_64
}
"
)
sha256sums_x86_64
=(
'be3f0f2a4a317bf9ee24db82821dd147e1ab9a1c6f0fbfae4a36aee6a22bbfce'
)
_file_i686
=
"git-annex-standalone-i386-
${
pkgver
}
.tar.gz"
_url_i686
=
"https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-i386.tar.gz"
source_i686
=(
"
${
_file_i686
}
::
${
_url_i686
}
"
)
sha256sums_i686
=(
'8901ab302b3bbbacea11b34a1213487b1d2c1f1b7742f220fb743b644ea84362'
)
_file_armv6h
=
"git-annex-standalone-armel-
${
pkgver
}
.tar.gz"
_url_armv6h
=
"https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-armel.tar.gz"
source_armv6h
=(
"
${
_file_armv6h
}
::
${
_url_armv6h
}
"
)
sha256sums_armv6h
=(
'9e3116ae104e81784579907f47e30e1661b0eeb768533be120151b9ee704e658'
)
package
()
{
mkdir
-p
"
$pkgdir
/opt"
"
$pkgdir
/usr/bin"
...
...
update-pkgbuild.py
View file @
89147352
...
...
@@ -79,19 +79,20 @@ _rmbin=('cp' 'curl' 'git' 'gpg' 'lsof' 'rsync' 'sh' 'sha1sum' 'sha224sum' \\
# all of these can be left out if not deleting $_rmbin binaries
depends=('coreutils' 'curl' 'git' 'gnupg' 'lsof' 'rsync' 'bash' 'openssh' 'wget' 'findutils' 'dnsutils' 'aria2')
if [[ $CARCH == "x86_64" ]] ; then
_file=git-annex-standalone-amd64-${pkgver}.tar.gz
source+=("${_file}::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz")
sha256sums+=('%(sha256_x86_64)s')
elif [[ $CARCH == "i686" ]] ; then
_file=git-annex-standalone-i386-${pkgver}.tar.gz
source+=("${_file}::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-i386.tar.gz")
sha256sums+=('%(sha256_i686)s')
elif [[ $CARCH == "armv6h" ]] ; then
_file=git-annex-standalone-armel-${pkgver}.tar.gz
source+=("${_file}::https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-armel.tar.gz")
sha256sums+=('%(sha256_armv6h)s')
fi
_file_x86_64="git-annex-standalone-amd64-${pkgver}.tar.gz"
_url_x86_64="https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz"
source_x86_64=("${_file_x86_64}::${_url_x86_64}")
sha256sums_x86_64=('%(sha256_x86_64)s')
_file_i686="git-annex-standalone-i386-${pkgver}.tar.gz"
_url_i686="https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-i386.tar.gz"
source_i686=("${_file_i686}::${_url_i686}")
sha256sums_i686=('%(sha256_i686)s')
_file_armv6h="git-annex-standalone-armel-${pkgver}.tar.gz"
_url_armv6h="https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-armel.tar.gz"
source_armv6h=("${_file_armv6h}::${_url_armv6h}")
sha256sums_armv6h=('%(sha256_armv6h)s')
package() {
mkdir -p "$pkgdir/opt" "$pkgdir/usr/bin"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment