mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
gzdoom: update to 3.6.0.
This commit is contained in:
parent
e3259b4e82
commit
fbcb72f89d
2 changed files with 9 additions and 8 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'gzdoom'
|
# Template file for 'gzdoom'
|
||||||
pkgname=gzdoom
|
pkgname=gzdoom
|
||||||
version=3.4.1
|
version=3.6.0
|
||||||
revision=1
|
revision=1
|
||||||
_tagdate=2018-06-16
|
_tagdate=2018-08-10
|
||||||
wrksrc=${pkgname}-g${version}
|
wrksrc="${pkgname}-g${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DINSTALL_PK3_PATH=share/gzdoom"
|
configure_args="-DINSTALL_PK3_PATH=share/gzdoom"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -14,10 +14,10 @@ maintainer="Michael Straube <straubem@gmx.de>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://www.zdoom.org"
|
homepage="https://www.zdoom.org"
|
||||||
distfiles="https://github.com/coelckers/${pkgname}/archive/g${version}.tar.gz
|
distfiles="https://github.com/coelckers/${pkgname}/archive/g${version}.tar.gz
|
||||||
https://github.com/coelckers/${pkgname}/releases/download/g${version}/${pkgname}_${version}_armhf.deb"
|
https://github.com/coelckers/${pkgname}/releases/download/g${version}/${pkgname}_${version}_amd64.deb"
|
||||||
checksum="295a006417a13c1996c89d9ebf87457788371a9e2576dbcffc04a55576e300f7
|
checksum="c90912b77f1b545d5a861a71098507328a01e81a697c3a69acf5777579f01dd1
|
||||||
f1824fe1a677b6d1f6bd1a17271e15756ac88f8881baaf8db9d0c825a30dae2d"
|
0b0c2119f435da9f9d7e5a514cb2c7409216ab500f7b1e47da998379f310665c"
|
||||||
skip_extraction="${pkgname}_${version}_armhf.deb"
|
skip_extraction="${pkgname}_${version}_amd64.deb"
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
case "$XBPS_MACHINE" in
|
case "$XBPS_MACHINE" in
|
||||||
|
@ -28,7 +28,7 @@ case "$XBPS_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
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}
|
tar --strip-components=4 -xJf - ./usr/share/{pixmaps/gzdoom.png,applications/gzdoom.desktop}
|
||||||
|
|
||||||
sed -i "s|GIT_DESCRIPTION|\"${version}\"|g" src/gitinfo.cpp
|
sed -i "s|GIT_DESCRIPTION|\"${version}\"|g" src/gitinfo.cpp
|
||||||
|
|
1
srcpkgs/gzdoom/update
Normal file
1
srcpkgs/gzdoom/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pattern='/archive/(g|v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'
|
Loading…
Add table
Reference in a new issue