srcpkgs/: use ${version} in distfiles

This commit is contained in:
Piotr Wójcik 2024-03-02 20:55:34 +01:00 committed by Chocimier
parent 3abd14929b
commit c510f033af
14 changed files with 16 additions and 15 deletions

View File

@ -13,7 +13,7 @@ distfiles="https://github.com/drowe67/codec2/archive/v${version}.tar.gz"
# In July 2023 this repo was refactored, older code can be found in
# https://github.com/drowe67/codec2-dev
# diffed, no change
distfiles="https://github.com/drowe67/codec2-dev/archive/refs/tags/v1.0.1.tar.gz"
distfiles="https://github.com/drowe67/codec2-dev/archive/refs/tags/v${version}.tar.gz"
checksum=e6f12129f0f63d65a3c7b2c9bf8ddf4ec3b481123279890bf87271a8bb55d8be
do_check() {

View File

@ -7,7 +7,7 @@ short_desc="DTS Coherent Acoustics decoder with support for HD extensions"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1"
homepage="https://github.com/foo86/dcadec"
distfiles="$homepage/archive/v0.2.0.tar.gz"
distfiles="$homepage/archive/v${version}.tar.gz"
checksum=ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44
CFLAGS='-std=gnu99'
make_build_args="CONFIG_SHARED=TRUE"

View File

@ -7,7 +7,7 @@ short_desc="LibreOffice fonts for Hebrew"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="OFL-1.1"
homepage="https://www.libreoffice.org/"
distfiles="https://dev-www.libreoffice.org/src/libre-hebrew-1.0.tar.gz"
distfiles="https://dev-www.libreoffice.org/src/libre-hebrew-${version}.tar.gz"
checksum=f596257c1db706ce35795b18d7f66a4db99d427725f20e9384914b534142579a
font_dirs="/usr/share/fonts/TTF/hebrew"

View File

@ -2,6 +2,7 @@
pkgname=fsv
version=0.9.1
revision=2
_distver="${version%.*}-${version##*.}"
build_style=gnu-configure
hostmakedepends="automake gettext-devel libtool pkg-config"
makedepends="gtkmm-devel ftgl-devel gtkglarea-devel"
@ -9,7 +10,7 @@ short_desc="GTK2 port of fsv, the filesystem visualizer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://fsv.sourceforge.net/"
distfiles="https://github.com/mcuelenaere/fsv/archive/fsv-0.9-1.tar.gz"
distfiles="https://github.com/mcuelenaere/fsv/archive/fsv-${_distver}.tar.gz"
checksum=aede9d231858016d410eb1cc47f5315055eafc259f80a9e82a5846ea2f682d18
pre_configure() {

View File

@ -25,7 +25,7 @@ maintainer="Anachron <gith@cron.world>"
license="GPL-3.0-or-later"
homepage="https://gnunet.org"
#distfiles="http://ftpmirror.gnu.org/gnunet/${pkgname}-${version}.tar.gz"
distfiles="https://sources.voidlinux.org/gnunet-0.12.2/gnunet-0.12.2.tar.gz"
distfiles="https://sources.voidlinux.org/gnunet-${version}/gnunet-${version}.tar.gz"
checksum=ac288b047d1156fc5e739062b11242bad0487993631e79781aede620ddf18cd7
build_options="bluetooth extractor iptables ifconfig jansson microhttpd opus gstreamer pulseaudio zbar"

View File

@ -12,7 +12,7 @@ license="GPL-2.0-only"
homepage="https://www.genivia.com/dev.html"
# distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
# distfile is gone from upstream
distfiles="https://sources.voidlinux.org/gsoap-2.8.124/gsoap_2.8.124.zip"
distfiles="https://sources.voidlinux.org/gsoap-${version}/gsoap_${version}.zip"
checksum=4b798780989338f665ef8e171bbcc422a271004d62d5852666d5eeca33a6a636
disable_parallel_build=yes
CFLAGS="-fcommon"

View File

@ -10,7 +10,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="http://guichaz.free.fr/iotop"
#distfiles="http://guichaz.free.fr/iotop/files/iotop-${version}.tar.bz2"
distfiles="https://void.johnnynator.dev/iotop-0.6.tar.bz2"
distfiles="https://void.johnnynator.dev/iotop-${version}.tar.bz2"
checksum=3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b
post_install() {

View File

@ -8,5 +8,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://lbzip2.org/"
# lbzip2.org no longer host the tarball
distfiles="https://fossies.org/linux/privat/lbzip2-2.5.tar.gz"
distfiles="https://fossies.org/linux/privat/lbzip2-${version}.tar.gz"
checksum=46c75ee93cc95eedc6005625442b2b8e59a2bef3ba80987d0491f055185650e9

View File

@ -8,7 +8,7 @@ short_desc="Library for making real-mode x86 calls"
homepage="http://www.codon.org.uk/~mjg59/libx86/"
license="MIT"
maintainer="Leah Neukirchen <leah@vuxu.org>"
distfiles="${DEBIAN_SITE}/main/libx/libx86/libx86_1.1+ds1.orig.tar.bz2"
distfiles="${DEBIAN_SITE}/main/libx/libx86/libx86_${version}+ds1.orig.tar.bz2"
checksum=88036ba62465491b35cffa00dc6d9d07b6ee9610a41ae626779d264b418c8211
archs="i686* x86_64*"

View File

@ -7,8 +7,8 @@ short_desc="Paragraph reformatter"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="custom:par"
homepage="http://www.nicemice.net/par/"
distfiles="http://www.nicemice.net/par/Par152-autoconf.tar.gz
http://www.nicemice.net/par/Par152.tar.gz"
distfiles="http://www.nicemice.net/par/Par${version/./}-autoconf.tar.gz
http://www.nicemice.net/par/Par${version/./}.tar.gz"
checksum="034fb943236523629eefee0a33fc6afb5b881648a2fc5c6bef7fd1b89ce44d34
33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082"
patch_args=-Np0

View File

@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://pingus.seul.org/"
distfiles="https://gitlab.com/pingus/pingus/-/archive/v${version}/pingus-v${version}.tar.gz"
distfiles="${DEBIAN_SITE}/main/p/pingus/pingus_0.7.6.orig.tar.bz2"
distfiles="${DEBIAN_SITE}/main/p/pingus/pingus_${version}.orig.tar.bz2"
checksum=759c1253075d1e72691bc1e770b24cdd51917041fd1857c1daf85b65a6686460
nocross=yes

View File

@ -12,7 +12,7 @@ maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/dottedmag/pychm"
#distfiles="${PYPI_SITE}/p/pychm/pychm-${version}.tar.gz"
distfiles=https://github.com/dottedmag/pychm/archive/refs/tags/v0.8.6.tar.gz
distfiles=https://github.com/dottedmag/pychm/archive/refs/tags/v${version}.tar.gz
checksum=23cdc3bbbeb97b57b472a67a0c7c96c6f1ec2d684a73a69fa84aaaeb195cab6c
do_check() {

View File

@ -23,7 +23,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.qt.io/"
# distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-opensource-src-${_v}.tar.xz"
distfiles="https://sources.voidlinux.org/qt5-webkit-5.212.0/qtwebkit-opensource-src-5.212.tar.xz"
distfiles="https://sources.voidlinux.org/qt5-webkit-${version}/qtwebkit-opensource-src-${version%.*}.tar.xz"
checksum=9a6ed083154c7ec850081102b299afa928ca7e48bbdf2b5f3ae152425e46eb17
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include"

View File

@ -10,7 +10,7 @@ short_desc="Additional taglib plugins for KDE"
maintainer="LockeAnarchist <emanuel@openmailbox.org>"
homepage="http://developer.kde.org/~wheeler/taglib.html"
license="LGPL-2.1, MPL-1.1"
distfiles="http://download.kde.org/stable/taglib-extras/${version}/src/taglib-extras-1.0.1.tar.gz"
distfiles="http://download.kde.org/stable/taglib-extras/${version}/src/taglib-extras-${version}.tar.gz"
checksum=fe546b4b315f3227c975fed8ea9dfc0e54fc6997fdbba2a9da7beba479229632
pre_configure() {