libax25: re-classify version scheme for update-check

Also, use Debian mirror
This commit is contained in:
Đoàn Trần Công Danh 2022-10-23 21:45:48 +07:00
parent 4173afaec3
commit 43e4ba91bc
1 changed files with 7 additions and 6 deletions

View File

@ -1,16 +1,17 @@
# Template file for 'libax25'
pkgname=libax25
version=0.0.12rc4
version=0.0.12.rc4
revision=1
wrksrc="libax25-${version/rc/-rc}"
wrksrc="libax25-${version/.rc/-rc}"
build_style=gnu-configure
makedepends="zlib-devel"
short_desc="A set of functions making it easier to write hamradio programs"
short_desc="Functions making it easier to write hamradio programs"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="LGPL-2"
license="LGPL-2.1-or-later"
homepage="http://www.linux-ax25.org/wiki/Libax25"
distfiles="http://www.linux-ax25.org/pub/libax25/${wrksrc}.tar.gz"
checksum=051bd736c3f3f3b242b3efea91af37f2e8d5afaebb5fe6e1df050bb1f6aeb986
# distfiles="http://www.linux-ax25.org/pub/libax25/libax25-${version/.rc/-rc}.tar.gz"
distfiles="${DEBIAN_SITE}/main/liba/libax25/libax25_${version/.rc/-rc}.orig.tar.gz"
checksum=d13496038a2a890bfb48d64333891fbd638ba60d681484a1c5afe0e56845b226
libax25-devel_package() {
short_desc+=" - development files"