Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / 
libpaper


Commits:
2d8e65b4 by Andreas Radke at 2024-01-22T20:25:29+01:00
upgpkg: 2.1.3-1; adopt SPDX licenses

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,19 +1,22 @@
 pkgbase = libpaper
        pkgdesc = Library for handling paper characteristics
-       pkgver = 2.1.2
+       pkgver = 2.1.3
        pkgrel = 1
        url = https://github.com/rrthomas/libpaper
        arch = x86_64
-       license = LGPL2.1
-       license = GPL3
+       license = LGPL-2.1-or-later
+       license = LicenseRef-Public-Domain
+       license = GPL-3.0-or-later
+       license = LGPL-2.0-or-later
+       license = FSFAP
        depends = glibc
        provides = paper
        conflicts = paper
        replaces = paper
        backup = etc/papersize
-       source = 
https://github.com/rrthomas/libpaper/releases/download/v2.1.2/libpaper-2.1.2.tar.gz
+       source = 
https://github.com/rrthomas/libpaper/releases/download/v2.1.3/libpaper-2.1.3.tar.gz
        source = localepaper.c
-       sha256sums = 
1fda0cf64efa46b9684a4ccc17df4386c4cc83254805419222c064bf62ea001f
+       sha256sums = 
b798be7c52036e684a90a68f0be954f173fea87886f8a1d25c6514a279216f4a
        sha256sums = 
7e49c6ce67fbaea77929ab5849026412d0f91f692a902805c0134a071cccde22
 
 pkgname = libpaper


=====================================
PKGBUILD
=====================================
@@ -5,17 +5,31 @@
 # Contributor: royrocks <royrock...@gmail.com>
 
 pkgname=libpaper
-pkgver=2.1.2
+pkgver=2.1.3
 pkgrel=1
 pkgdesc="Library for handling paper characteristics"
 arch=('x86_64')
 url="https://github.com/rrthomas/libpaper";
-license=('LGPL2.1' 'GPL3')
+# https://github.com/rrthomas/libpaper/pull/37
+# libpaper is LGPL-2.1+
+# bundled libgnu is LGPL-2.1+, LGPL-2+ and GPL-3+
+# paperspecs is Public Domain
+# localepaper.c is FSFAP
+# paper.c is GPL-3.0-or-later
+# paperconf.c is GPL 2.0 only
+# localepaper.c is FSFAP (except it is missing the warranty disclaimer... but 
the intent is clear)
+license=(
+    LGPL-2.1-or-later
+    LicenseRef-Public-Domain
+    GPL-3.0-or-later
+    LGPL-2.0-or-later
+    FSFAP
+)
 depends=('glibc')
 backup=('etc/papersize')
 
source=(https://github.com/rrthomas/libpaper/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
         localepaper.c)
-sha256sums=('1fda0cf64efa46b9684a4ccc17df4386c4cc83254805419222c064bf62ea001f'
+sha256sums=('b798be7c52036e684a90a68f0be954f173fea87886f8a1d25c6514a279216f4a'
             '7e49c6ce67fbaea77929ab5849026412d0f91f692a902805c0134a071cccde22')
 provides=('paper')
 replaces=('paper')
@@ -74,4 +88,7 @@ package() {
 #      msgfmt $i -o 
"${pkgdir}"/usr/share/locale/${i%.po}/LC_MESSAGES/${pkgname}.mo;
 #  done
 #  popd
+
+  # license
+  install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libpaper/-/commit/2d8e65b4c8f207648e2e9de39a30b21def7cabdb

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libpaper/-/commit/2d8e65b4c8f207648e2e9de39a30b21def7cabdb
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to