summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Huber2017-02-24 10:59:27 +0100
committerMarcel Huber2017-02-24 10:59:42 +0100
commitaafda4180b6928074f0ff67a8446aa0d83360805 (patch)
tree69dbb10bb829393d739616e7eaac34f70f85633d
parenta1c3b764d7d37a159b3152329c1a61a35cfe0020 (diff)
downloadaur-aafda4180b6928074f0ff67a8446aa0d83360805.tar.gz
Updated to 1.0.0 release
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
-rwxr-xr-xbuildandcopy.sh5
3 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a3643068fe..cc78e379739 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nvidia-docker
pkgdesc = Build and run Docker containers leveraging NVIDIA GPUs
- pkgver = 1.0.0.rc.3
+ pkgver = 1.0.0
pkgrel = 1
url = https://github.com/NVIDIA/nvidia-docker
install = nvidia-docker.install
@@ -10,8 +10,8 @@ pkgbase = nvidia-docker
optdepends = cuda
optdepends = nvidia
optdepends = opencl-nvidia
- source_x86_64 = https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.0-rc.3/nvidia-docker-1.0.0.rc.3-1.x86_64.rpm
- sha256sums_x86_64 = 67e087eaf1941c997a052a5b57e3520fd3589e958167a0d71c21a214f1a9956a
+ source_x86_64 = https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.0/nvidia-docker-1.0.0-1.x86_64.rpm
+ sha256sums_x86_64 = 6669686952a190557ceccb272c97e9fc11f744d8e949e78c3a5854517a39e958
pkgname = nvidia-docker
diff --git a/PKGBUILD b/PKGBUILD
index 9e4e0621566..8e50b86a5a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Marcel Huber <marcelhuberfoo@gmail.com>
pkgname=nvidia-docker
-pkgver=1.0.0.rc.3
+pkgver=1.0.0
pkgrel=1
pkgdesc="Build and run Docker containers leveraging NVIDIA GPUs"
license=('custom')
@@ -10,8 +10,8 @@ url='https://github.com/NVIDIA/nvidia-docker'
makedepends=(libarchive)
optdepends=(cuda nvidia opencl-nvidia)
install=${pkgname}.install
-source_x86_64=(https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.0-rc.3/nvidia-docker-${pkgver}-1.${arch}.rpm)
-sha256sums_x86_64=('67e087eaf1941c997a052a5b57e3520fd3589e958167a0d71c21a214f1a9956a')
+source_x86_64=(https://github.com/NVIDIA/nvidia-docker/releases/download/v${pkgver}/nvidia-docker-${pkgver}-1.${arch}.rpm)
+sha256sums_x86_64=('6669686952a190557ceccb272c97e9fc11f744d8e949e78c3a5854517a39e958')
build() {
cd $srcdir
diff --git a/buildandcopy.sh b/buildandcopy.sh
index 8593b99e2c6..f7619edea66 100755
--- a/buildandcopy.sh
+++ b/buildandcopy.sh
@@ -4,9 +4,10 @@ thedirs="."
repodir=/home/own-repo
thingsToDo=(
- 'for n in $thedirs; do ( cd $n && updpkgsums; makepkg --force --nodeps --nobuild; makepkg --printsrcinfo > .SRCINFO ); done'
+ 'for n in $thedirs; do ( cd $n && updpkgsums); done'
+ 'for n in $thedirs; do ( cd $n && makepkg --force --nodeps --nobuild; makepkg --printsrcinfo > .SRCINFO ); done'
'git diff --quiet --no-ext-diff --exit-code && echo clean || ( git diff -b -w && git add -p && git commit ) || true'
- 'for n in $thedirs; do ( cd $n && updpkgsums; makepkg --force --nodeps --cleanbuild ); done'
+ 'for n in $thedirs; do ( cd $n && makepkg --force --nodeps --noextract --cleanbuild --skipchecksums); done'
'test -n "$repodir" -a -d "$repodir" && for n in $thedirs; do for pkgdir in $(find $n -name "*.tar.xz" -printf "%h\n" | sort | uniq); do cpfn=$(ls -tc1 $pkgdir/*.tar.xz | head -1); echo "move [$cpfn]? (y*|n)"; read v; if [ ! "$v" = "n" -a ! "$v" = "N" ]; then sh -c "mv --interactive --update $cpfn $repodir && ( repo-add --new --quiet ${repodir}/ownrepo.db.tar.gz $repodir/$(basename $cpfn); )"; fi; done; done'
'git push origin'
'for n in $thedirs; do ( cd $n && makepkg --nodeps --noextract --force --nobuild --noarchive --nocheck --noprepare --skipinteg --clean ); done'