dosbox: re-classify version scheme

This new version is easier to be manipulated.
This commit is contained in:
Đoàn Trần Công Danh 2022-10-23 21:30:20 +07:00
parent 569cc448a4
commit 4173afaec3
2 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'dosbox'
pkgname=dosbox
version=0.74.3
revision=1
wrksrc=${pkgname}-0.74-3
version=0.74pl3
revision=2
wrksrc="${pkgname}-${version/pl/-}"
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libpng-devel SDL_net-devel SDL_sound-devel"
@ -10,7 +10,7 @@ short_desc="DOS x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics and sound
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.dosbox.com"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${wrksrc}.tar.gz"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/dosbox-${version/pl/-}.tar.gz"
checksum=c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a
post_install() {

1
srcpkgs/dosbox/update Normal file
View File

@ -0,0 +1 @@
pattern="dosbox-\K[0-9.-]*(?=.tar.gz)"