summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViech2018-12-09 18:13:28 +0100
committerViech2018-12-09 18:13:28 +0100
commit14306424fe432ee94e0e411db40d77f2839e8318 (patch)
treef671bc63bcd2cae4be9c669365207fc1b689d4e0
parent8f2f16f02de697c01aa0df9bedc83744dad09fcc (diff)
downloadaur-14306424fe432ee94e0e411db40d77f2839e8318.tar.gz
Update to 0.51.1.
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD17
2 files changed, 11 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 55c305885696..1e6ba02be4b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
# Generated by mksrcinfo v8
-# Fri Apr 15 14:49:13 UTC 2016
+# Sun Dec 9 15:23:09 UTC 2018
pkgbase = unvanquished-data
pkgdesc = Game assets for Unvanquished.
- pkgver = 0.50.0
+ pkgver = 0.51.1
pkgrel = 1
url = http://www.unvanquished.net
arch = any
license = GPL3
makedepends = aria2>=1.18.7-2
- makedepends = sed
- source = https://github.com/Unvanquished/Unvanquished/raw/archlinux/0.50.0-1/download-pk3-torrent.sh
- md5sums = bb2d205411ab0b05e755abe06e8d38b3
+ source = https://github.com/Unvanquished/Unvanquished/raw/archlinux/0.51.1-1/download-dpk-torrent.sh
+ md5sums = a53bcb79af17ca7b7050a62bd023f814
pkgname = unvanquished-data
diff --git a/PKGBUILD b/PKGBUILD
index 39f32043fe83..f36ac77a233e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Viech <viech unvanquished net>
pkgname=unvanquished-data
-pkgver=0.50.0
+pkgver=0.51.1
pkgrel=1
_gitver="archlinux/${pkgver}-${pkgrel}"
@@ -11,8 +11,8 @@ arch=('any')
url='http://www.unvanquished.net'
license=('GPL3')
-makedepends=('aria2>=1.18.7-2' 'sed') # XXX dependency on sed for workaround below
-source=("https://github.com/Unvanquished/Unvanquished/raw/${_gitver}/download-pk3-torrent.sh")
+makedepends=('aria2>=1.18.7-2')
+source=("https://github.com/Unvanquished/Unvanquished/raw/${_gitver}/download-dpk-torrent.sh")
# disable package compression since assets are already compressed
PKGEXT='.pkg.tar'
@@ -20,7 +20,7 @@ PKGEXT='.pkg.tar'
build() {
cd "${srcdir}"
- chmod +x download-pk3-torrent.sh
+ chmod +x download-dpk-torrent.sh
}
package() {
@@ -35,7 +35,7 @@ package() {
# attempt to copy existing assets from the system, so they aren't redownloaded
if [ -d /usr/share/unvanquished/pkg ]; then
echo "Copying existing assets from the system..."
- cp -r /usr/share/unvanquished/pkg/*.pk3 "${pkgdir}/usr/share/unvanquished/pkg/" || true
+ cp -r /usr/share/unvanquished/pkg/*.dpk "${pkgdir}/usr/share/unvanquished/pkg/" || true
fi
# make the download script aware of copied assets, so it will remove unneeded ones
@@ -44,11 +44,8 @@ package() {
# remove old aria2 progress files in case the torrent itself was updated
rm -f "${srcdir}/cache/"*".aria2"
- # XXX work around a bug in aria2/GnuTLS https handling by using http for now
- sed -i 's,https,http,' download-pk3-torrent.sh
-
# download new or modified assets
- ./download-pk3-torrent.sh "${pkgdir}/usr/share/unvanquished/pkg/" "${srcdir}/cache" "${pkgver}"
+ ./download-dpk-torrent.sh "${pkgdir}/usr/share/unvanquished/pkg/" "${srcdir}/cache" "${pkgver}"
}
-md5sums=('bb2d205411ab0b05e755abe06e8d38b3')
+md5sums=('a53bcb79af17ca7b7050a62bd023f814')