From 569cc448a4e3da15c16c2a360ce4eadc965cbcf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 23 Oct 2022 21:49:10 +0700 Subject: [PATCH] *: don't use $wrksrc in $distfiles --- srcpkgs/docbook-xsl-ns/template | 2 +- srcpkgs/docbook-xsl/template | 2 +- srcpkgs/dovecot-plugin-pigeonhole/template | 2 +- srcpkgs/libmp4v2/template | 2 +- srcpkgs/lua54-MessagePack/template | 2 +- srcpkgs/puzzles/template | 2 +- srcpkgs/qtcreator/template | 2 +- srcpkgs/trn/template | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/docbook-xsl-ns/template b/srcpkgs/docbook-xsl-ns/template index 575d9b7a74e..d4438d35ffd 100644 --- a/srcpkgs/docbook-xsl-ns/template +++ b/srcpkgs/docbook-xsl-ns/template @@ -10,7 +10,7 @@ short_desc="Docbook XSL modular stylesheet" maintainer="Cameron Nemo " license="MIT" homepage="https://docbook.org/" -distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release/${version}/${wrksrc}.tar.bz2" +distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release/${version}/docbook-xsl-ns-${version}.tar.bz2" checksum=316524ea444e53208a2fb90eeb676af755da96e1417835ba5f5eb719c81fa371 xml_entries="nextCatalog /usr/share/xsl-ns/docbook/catalog.xml --" diff --git a/srcpkgs/docbook-xsl/template b/srcpkgs/docbook-xsl/template index 23d75725e76..ba957de8981 100644 --- a/srcpkgs/docbook-xsl/template +++ b/srcpkgs/docbook-xsl/template @@ -10,7 +10,7 @@ short_desc="Docbook XSL modular stylesheet" maintainer="Cameron Nemo " license="MIT" homepage="https://docbook.org/" -distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release/${version}/${wrksrc}.tar.bz2" +distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release/${version}/docbook-xsl-nons-${version}.tar.bz2" checksum=ee8b9eca0b7a8f89075832a2da7534bce8c5478fc8fc2676f512d5d87d832102 xml_entries="nextCatalog /usr/share/xsl/docbook/catalog.xml --" diff --git a/srcpkgs/dovecot-plugin-pigeonhole/template b/srcpkgs/dovecot-plugin-pigeonhole/template index 109336ddaa8..d53e8ad8885 100644 --- a/srcpkgs/dovecot-plugin-pigeonhole/template +++ b/srcpkgs/dovecot-plugin-pigeonhole/template @@ -18,7 +18,7 @@ short_desc="Sieve implementation for Dovecot" maintainer="Leah Neukirchen " license="LGPL-2.1-or-later" homepage="https://pigeonhole.dovecot.org" -distfiles="${homepage}/releases/2.3/${wrksrc}.tar.gz" +distfiles="${homepage}/releases/2.3/dovecot-2.3-pigeonhole-${version}.tar.gz" checksum=637709a83fb1338c918e5398049f96b7aeb5ae00696794ed1e5a4d4c0ca3f688 dovecot-plugin-pigeonhole-devel_package() { diff --git a/srcpkgs/libmp4v2/template b/srcpkgs/libmp4v2/template index 674b6ee304a..06a57547822 100644 --- a/srcpkgs/libmp4v2/template +++ b/srcpkgs/libmp4v2/template @@ -9,7 +9,7 @@ short_desc="MPEG-4 library from mpeg4ip" maintainer="Orphaned " homepage="http://code.google.com/p/mp4v2/" license="MPL-1.1" -distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/${wrksrc}.tar.bz2" +distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/mp4v2-${version}.tar.bz2" checksum=0319b9a60b667cf10ee0ec7505eb7bdc0a2e21ca7a93db96ec5bd758e3428338 CXXFLAGS="-Wno-narrowing" diff --git a/srcpkgs/lua54-MessagePack/template b/srcpkgs/lua54-MessagePack/template index d02ce3f690a..159dbc9b10d 100644 --- a/srcpkgs/lua54-MessagePack/template +++ b/srcpkgs/lua54-MessagePack/template @@ -9,7 +9,7 @@ short_desc="${_desc} (5.4.x)" maintainer="Tj Vanderpoel (bougyman) " license="MIT" homepage="https://framagit.org/fperrad/lua-MessagePack" -distfiles="${homepage}/-/archive/${version}/${wrksrc}.tar.gz" +distfiles="${homepage}/-/archive/${version}/lua-MessagePack-${version}.tar.gz" checksum=e8285b1c574fca279e7ec8c09b49073ef48a13c4a12d8db920ca50be34b07394 replaces="lua-MessagePack>=0" diff --git a/srcpkgs/puzzles/template b/srcpkgs/puzzles/template index cda5ec6b285..f589574822f 100644 --- a/srcpkgs/puzzles/template +++ b/srcpkgs/puzzles/template @@ -11,7 +11,7 @@ short_desc="Simon Tatham's Portable Puzzle Collection" maintainer="Leah Neukirchen " license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" -distfiles="https://git.tartarus.org/?p=simon/puzzles.git;a=snapshot;h=8ff394d1cc42efc3509135bbdd6ce92498eafcf3;sf=tgz>${wrksrc}.tgz" +distfiles="https://git.tartarus.org/?p=simon/puzzles.git;a=snapshot;h=8ff394d1cc42efc3509135bbdd6ce92498eafcf3;sf=tgz>${pkgname}-${version#*.}.tgz" checksum=54c507b3e6607344e9c4d6ab7beb29369ffeaacf3bbd258c6e76432d35f0ad60 post_install() { diff --git a/srcpkgs/qtcreator/template b/srcpkgs/qtcreator/template index 0e4840d0e7f..53d9b20e4ca 100644 --- a/srcpkgs/qtcreator/template +++ b/srcpkgs/qtcreator/template @@ -17,7 +17,7 @@ maintainer="Piotr Wójcik " license="LGPL-3.0-or-later, custom:QtCompany-GPL-Exception-1.0" homepage="https://wiki.qt.io/Category:Tools::QtCreator" changelog="https://code.qt.io/cgit/qt-creator/qt-creator.git/plain/dist/changelog/changes-${version}.md" -distfiles="https://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/${wrksrc}.tar.xz" +distfiles="https://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/qt-creator-opensource-src-${version}.tar.xz" checksum=323640f96c76d199fe5bf7b02cbf2dd1a3b6489ab7cc0adeaad3957d8dc96f17 replaces="qtcreator-data>=0" python_version=3 diff --git a/srcpkgs/trn/template b/srcpkgs/trn/template index c2a7873df58..0d439f507b9 100644 --- a/srcpkgs/trn/template +++ b/srcpkgs/trn/template @@ -11,7 +11,7 @@ short_desc="Text-based threaded Usenet newsreader" maintainer="Leah Neukirchen " license="custom:freeware" homepage="http://trn.sourceforge.net/" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}4/${wrksrc}.tar.gz" +distfiles="${SOURCEFORGE_SITE}/trn/trn${version%%.*}/trn-${version/test/-test}.tar.gz" checksum=9ab0430244903ad86ed74fcc2fdc39dc043d23968888e071313050a967b8a6ff nocross="sh: ./try: cannot execute binary file: Exec format error"