Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages /
docbook-sgml31
Commits:
06743cec by Sven-Hendrik Haase at 2025-06-13T18:25:24+02:00
upgpkg: 3.1-7: Rename LICENSE to license-from-upstream
This is in preparation of RFC52.
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- LICENSE → license-from-upstream
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,14 +1,14 @@
pkgbase = docbook-sgml31
pkgdesc = Legacy docbook-sgml
pkgver = 3.1
- pkgrel = 6
+ pkgrel = 7
url = https://www.docbook.org/sgml/
install = docbook-sgml31.install
arch = any
license = LicenseRef-docbook-sgml31
depends = sgml-common
source = https://www.docbook.org/sgml/3.1/docbk31.zip
- source = LICENSE
+ source = license-from-upstream
sha256sums =
20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538
sha256sums =
4fe5a7c521db026ce926c148c051f495b0966e3c34443030116aa34381d6cec8
=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
pkgname=docbook-sgml31
pkgver=3.1
-pkgrel=6
+pkgrel=7
pkgdesc="Legacy docbook-sgml"
arch=('any')
url='https://www.docbook.org/sgml/'
@@ -13,14 +13,14 @@ license=(LicenseRef-$pkgname)
depends=('sgml-common')
install=$pkgname.install
source=("https://www.docbook.org/sgml/${pkgver}/docbk31.zip"
- LICENSE)
+ license-from-upstream)
sha256sums=('20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538'
'4fe5a7c521db026ce926c148c051f495b0966e3c34443030116aa34381d6cec8')
build() {
cd "$srcdir"
# This command removes the ENT definitions from the catalog file.
- # This command replaces the DTDDECL catalog entry, which is not supported by
Linux SGML tools,
+ # This command replaces the DTDDECL catalog entry, which is not supported by
Linux SGML tools,
# with the SGMLDECL catalog entry.
sed -i -e '/ISO 8879/d' \
-e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' \
@@ -35,6 +35,6 @@ package() {
install -dm755 "$pkgdir/$DTDDIR"
install -m644 docbook.cat "$pkgdir/$DTDDIR/catalog"
install -m644 *.dtd *.mod *.dcl "$pkgdir/$DTDDIR"
- install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -D -m644 license-from-upstream -t
"${pkgdir}/usr/share/licenses/${pkgname}/"
}
=====================================
LICENSE → license-from-upstream
=====================================
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/docbook-sgml31/-/commit/06743cec97345673e91960471a73bec1672b5fe3
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/docbook-sgml31/-/commit/06743cec97345673e91960471a73bec1672b5fe3
You're receiving this email because of your account on gitlab.archlinux.org.