gzdoom: update to 3.6.0.

This commit is contained in:
Piotr Wójcik 2018-12-15 13:45:25 +01:00 committed by maxice8
parent e3259b4e82
commit fbcb72f89d
2 changed files with 9 additions and 8 deletions

View file

@ -1,9 +1,9 @@
# Template file for 'gzdoom'
pkgname=gzdoom
version=3.4.1
version=3.6.0
revision=1
_tagdate=2018-06-16
wrksrc=${pkgname}-g${version}
_tagdate=2018-08-10
wrksrc="${pkgname}-g${version}"
build_style=cmake
configure_args="-DINSTALL_PK3_PATH=share/gzdoom"
hostmakedepends="pkg-config"
@ -14,10 +14,10 @@ maintainer="Michael Straube <straubem@gmx.de>"
license="GPL-3.0-or-later"
homepage="https://www.zdoom.org"
distfiles="https://github.com/coelckers/${pkgname}/archive/g${version}.tar.gz
https://github.com/coelckers/${pkgname}/releases/download/g${version}/${pkgname}_${version}_armhf.deb"
checksum="295a006417a13c1996c89d9ebf87457788371a9e2576dbcffc04a55576e300f7
f1824fe1a677b6d1f6bd1a17271e15756ac88f8881baaf8db9d0c825a30dae2d"
skip_extraction="${pkgname}_${version}_armhf.deb"
https://github.com/coelckers/${pkgname}/releases/download/g${version}/${pkgname}_${version}_amd64.deb"
checksum="c90912b77f1b545d5a861a71098507328a01e81a697c3a69acf5777579f01dd1
0b0c2119f435da9f9d7e5a514cb2c7409216ab500f7b1e47da998379f310665c"
skip_extraction="${pkgname}_${version}_amd64.deb"
nocross=yes
case "$XBPS_MACHINE" in
@ -28,7 +28,7 @@ case "$XBPS_MACHINE" in
esac
post_extract() {
ar -p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}_armhf.deb data.tar.xz |
ar -p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}_amd64.deb data.tar.xz |
tar --strip-components=4 -xJf - ./usr/share/{pixmaps/gzdoom.png,applications/gzdoom.desktop}
sed -i "s|GIT_DESCRIPTION|\"${version}\"|g" src/gitinfo.cpp

1
srcpkgs/gzdoom/update Normal file
View file

@ -0,0 +1 @@
pattern='/archive/(g|v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'