summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/licenses/PKGBUILD222
1 files changed, 100 insertions, 122 deletions
diff --git a/libre/licenses/PKGBUILD b/libre/licenses/PKGBUILD
index 342575f15..b3d7ef76d 100644
--- a/libre/licenses/PKGBUILD
+++ b/libre/licenses/PKGBUILD
@@ -1,155 +1,133 @@
-# Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer (Arch): Dan McGee <dan@archlinux.org>
-# Maintainer (Hyperbola): Márcio Silva <coadde@hyperbola.info>
-# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
+# Maintainer (Arch): David Runge <dvzrv@archlinux.org>
+# Contributor (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor (Arch): Dan McGee <dan@archlinux.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Luke Shumaker <lukeshu@parabola.nu>
+# Contributor: Márcio Silva <coadde@hyperbola.info>
+# Contributor: André Silva <emulatorman@hyperbola.info>
pkgname=licenses
-pkgver=20200427
+pkgver=20220125
pkgrel=1
-pkgrel+=.parabola2
-pkgdesc='Standard licenses distribution package'
-arch=('any')
-license=('custom:none')
-url='https://parabola.nu/'
-source=(apache-2.0.txt::https://www.apache.org/licenses/LICENSE-2.0.txt
- cc-by-3.0.txt
- cc-by-sa-3.0.txt
- cc-readme.txt
- cddl-1.0.txt
- eclipse-1.0.txt
- https://www.gnu.org/licenses/agpl-3.0.txt
- https://www.gnu.org/licenses/gpl-2.0.txt
- https://www.gnu.org/licenses/gpl-3.0.txt
- https://www.gnu.org/licenses/lgpl-2.1.txt
- https://www.gnu.org/licenses/lgpl-3.0.txt
- https://www.gnu.org/licenses/fdl-1.2.txt
- https://www.gnu.org/licenses/fdl-1.3.txt
- https://www.latex-project.org/lppl.txt
- perlartistic.txt
- artistic-2_0.txt
- php-3.01.txt::http://www.php.net/license/3_01.txt
- ruby-license.txt
- cpl-1.0.txt
- python-2.txt
- w3c.txt
- ZopePublicLicense.txt
- mpl-1.1.txt::https://www.mozilla.org/media/MPL/1.1/index.txt
- mpl-2.0.txt::https://www.mozilla.org/media/MPL/2.0/index.txt
- boost-1.0.txt::http://www.boost.org/LICENSE_1_0.txt
- unlicense.txt::https://unlicense.org/UNLICENSE
- wtfpl-2.txt::http://www.wtfpl.net/txt/copying/)
-md5sums=('3b83ef96387f14655fc854ddc3c6bd57'
- 'ffb24d1bbf8b83d373f0b8edc3feb0c6'
- '5367190077e12a7f55403d531ef3998e'
- '77651e5c686cbc0f8cec5ac7e6504235'
- '6cb35f3976cd093011967fa1abbce386'
- 'f300afd598546add034364cd0a533261'
- 'eb1e647870add0502f8f010b19de32af'
- 'b234ee4d69f5fce4486a80fdaf4a4263'
- '1ebbd3e34237af26da5dc08a4e440464'
- '4fbd65380cdd255951079008b364516c'
- '3000208d539ec061b899bce1d9ce9404'
- 'cfe2a5472d5eaa226eae091d4114ce29'
- '60e948417268fd26557f89fff655183a'
- '9f4337828d782bdea41f03dd2ad1b808'
- 'd09c120ca7db95ef2aeecec0cb08293b'
- 'b4a94da2a1f918b217ef5156634fc9e0'
- '7e571b888d585b31f9ef5edcc647fa30'
- '8a960b08d972f43f91ae84a6f00dcbfb'
- 'f083e41c43db25e18f36c91e57750b64'
- 'a055911c32fb4ed6e96c453ceaeba857'
- '6f2095b5d61770740852873b195a4d21'
- 'dc8502850eab9e1ff330a12d7ca18a19'
- '0c5913925d40b124fb52ce84c5deb3f3'
- '815ca599c9df247a0c7f619bab123dad'
- 'e4224ccaecb14d942c71d31bef20d78c'
- '7246f848faa4e9c9fc0ea91122d6e680'
- '8365d07beeb5f39d87e846dca3ae7b64')
+pkgrel+=.parabola1
+pkgdesc="A set of common license files"
+arch=(any)
+license=(custom:none)
+url="https://parabola.nu/"
+source=(
+ https://www.gnu.org/licenses/agpl-3.0.txt
+ apache-2.0.txt::https://www.apache.org/licenses/LICENSE-2.0.txt
+ artistic-2_0.txt
+ boost-1.0.txt::http://www.boost.org/LICENSE_1_0.txt
+ cc-by-3.0.txt
+ cc-by-sa-3.0.txt
+ cc-readme.txt
+ cddl-1.0.txt
+ cpl-1.0.txt
+ eclipse-1.0.txt
+ https://www.gnu.org/licenses/fdl-1.2.txt
+ https://www.gnu.org/licenses/fdl-1.3.txt
+ https://www.gnu.org/licenses/gpl-2.0.txt
+ https://www.gnu.org/licenses/gpl-3.0.txt
+ https://www.gnu.org/licenses/lgpl-2.1.txt
+ https://www.gnu.org/licenses/lgpl-3.0.txt
+ https://www.latex-project.org/lppl.txt
+ mpl-1.1.txt::https://www.mozilla.org/media/MPL/1.1/index.txt
+ mpl-2.0.txt::https://www.mozilla.org/media/MPL/2.0/index.txt
+ perlartistic.txt
+ php-3.01.txt::http://www.php.net/license/3_01.txt
+ python-2.txt
+ ruby-license.txt
+ unlicense.txt::https://unlicense.org/UNLICENSE
+ w3c.txt
+ ZopePublicLicense.txt
+ wtfpl-2.txt::http://www.wtfpl.net/txt/copying/
+)
+sha512sums=('3568a76677f3d55dbbc7fc33c4073b4714cc6f68d92cd842a9ca2b230e8bd2140e59c3fc3cce34be34ffed78d75ab6e9d991ba59bf7c4addde7fb96648d3375d'
+ '98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8'
+ 'c07582f49d8d774385c37fb15804bac136bf8c6eef4cc1b37d5bf890b785f31eeb6ca537385edb469e35003d5adc5fe752d1805ef4b31909bc1be7bc1bb38695'
+ 'd6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8'
+ 'c51c6e3eab06f1d1876f2c4672f839d2bc6730ee71b80f33105e907d4f93fa39e62bf2d914bc6ad6657eb66a0e32d26787294bad37023d4ae2349ea200f7dd95'
+ '95f6c764dcf30a0e225929d880144c10166da67fba6d690190f77e04a0daa66f26f1eba08b2a8c4893da2853cd3cd52572dcfc857ffa038bd2596e70e1885918'
+ 'ffa97f8f39634036e52238c7d4ef39b62f546a99f7b2308ff248919b626adedb5599554a068e9ece048da861663ddc039f093a90ab36cc4cae4d17b5de2a9110'
+ '3f09a16f19941b39e5206fcdfb8ae4e0b4adeaaf17baba3cce3f0573bb319ac213033392af55eb75355e3f39382ee1b381d6c58b294f376cdbf87537356f9617'
+ '51a43c9de1a8ef92264655118e053b4a2dd1e1fe4a8680cfe90a6a1a87c2c2c5253a1a70f8b12b18aa5ab33756e8a7a9a86fc67701edccd05156bc38ea2cd79c'
+ '861e7f297c4df79b4f218876b850ce1f70687edb7029898e8bfa4255a321ba7e48a82f6b3a9f56779d29b214cce4ce81f0e36c44462065d3b848f3fd30375eb6'
+ '22d2414762188840be68198978b9ece122813d1cac522632b8fa8315749335b43b1b58a6475fec0ef593a7bc568368526a90e199999808a118a7c6bb55906ac1'
+ '22d46818d3998ad841f537af4de7c50440dd918099fb6c5d4ab324cd71dc03066bfe1b67210a5efde77abd1d97b88da3c3dbfc39a24ae7248ee2d64e7f0fe6bb'
+ 'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957'
+ 'd361e5e8201481c6346ee6a886592c51265112be550d5224f1a7a6e116255c2f1ab8788df579d9b8372ed7bfd19bac4b6e70e00b472642966ab5b319b99a2686'
+ '1bca76c9f2f559a7851c278650125cd4f44a7ae4a96ceee6a6ba81d34d28fe7d6125c5ee459fef729b6a2a0eba3075c0841c8a156b3a26f66194f77f7d49151c'
+ '6a21e9f6706dacb99162dd4c70ec704e3fdf283b93ca2cc1521e08e55e0727db4c7384d027d54739f100cd26c8d3d5be717715c6b21086a9bb22efb893c34fcf'
+ '4c84834dc54cb6e4d88ad9907ab6a541c038a389954679453f372d9481dd45e64733b7189aca34a06e44171f5327d957735677db9ce72d2d2d60136a302680a9'
+ '4d54a4a55189e36134fd8af9e0800a037d360dc05246dd2cd942e809f95db305cdf39b89d0e9732318075afd0e1ed2f90856eaa66a67a98ccbe8cfde99750af3'
+ '9eda310d0d71a8d7d4e07ae801f1c3309a46cd59b9ee566a8d0ae98dcfdebc93dcf9f399ba1e5ff5f43e932ec21078de2be88b0699dfd3ec4828061011216389'
+ 'dc6efc925c7ef8df903d7f7f66b6d3ab17e73e5037bc12c50109925f12c6011e18d873d081d4da1ff2d52669584b7168239132ff2f665ca6d5178f7efe1beaf6'
+ 'f6acda74831a984baf170b1e423bbea8fdeb41c5e7266614e203bc4265dcfd56a78740c2369d6408dadcec7835a52dd80efa0a0f5466cac55491d99cfe0ec075'
+ 'f9d70fce91b44721124b2e1249a93ac902318c294da182a53ef0cf2e8f2f47c19f6b4abf964b598798ecbb954810cf66192a52ec3ace00ea5aacbbfcf8c22363'
+ '767242ed40e94d11521fba9e2a248ae998276f57b7b34e94d91ac392add2f835d8e0c01d1b13ce1def7782dca5dbfdbef37ea9cb802b51561718d299a3b87818'
+ 'aa647966e7fb62ffcd7bfc1e56a8ebe38e8384a36c14e07fec4ccf3be91ffa1b3bbd9798901fa7956056c26d124f067582366bdb9581db1f742291c86e64e39d'
+ '5cd651f40ea91397774d2bad8dcfdac0354d5930d892c07908caf6127eb8ee1255744959d51b9a756efa588aefce49d34c9764844282a711b50602295f8a2b3a'
+ '541777a015eb17bfd2dc07f5fb3a9aba950ded5bd0f53a80c52d6f4e2cb85a28a94294dbba1ca54560d0f3aadd749c94a31d67d76c1e4e6fd2255056415d52c7'
+ '1b4064171fa88f41d05e3d1d1c14ceb8a5cb4cca9e6f08f7e267d7740b7d65e4765cb56f0ccf3765ee9c85654559d2d7726d71516b890b0174b68e6cc62ef421')
package() {
- cd "$pkgdir"
- mkdir -p usr/share/licenses/common
- cd usr/share/licenses/common
+ local _license_dir="$pkgdir/usr/share/licenses/common"
- mkdir AGPL3
- cp "$srcdir"/agpl-3.0.txt AGPL3/license.txt
- ln -s AGPL3 AGPL
+ install -vDm 644 agpl-3.0.txt "$_license_dir/"AGPL3/license.txt
+ ln -s AGPL3 "$_license_dir/"AGPL
- mkdir Apache
- cp "$srcdir"/apache-2.0.txt Apache/license.txt
- ln -s Apache APACHE
+ install -vDm 644 apache-2.0.txt "$_license_dir/"Apache/license.txt
+ ln -s Apache "$_license_dir/"APACHE
- mkdir Artistic2.0
- cp "$srcdir"/artistic-2_0.txt Artistic2.0/license.txt
+ install -vDm 644 artistic-2_0.txt "$_license_dir/"Artistic2.0/license.txt
- mkdir CCPL
- cp "$srcdir"/cc-by-3.0.txt CCPL/
- cp "$srcdir"/cc-by-sa-3.0.txt CCPL/
- cp "$srcdir"/cc-readme.txt CCPL/
+ install -vDm 644 boost-1.0.txt "$_license_dir/"Boost/license.txt
- mkdir CDDL
- cp "$srcdir"/cddl-1.0.txt CDDL/license.txt
+ install -vDm 644 cc-by-3.0.txt -t "$_license_dir/"CCPL/
+ install -vDm 644 cc-by-sa-3.0.txt -t "$_license_dir/"CCPL/
+ install -vDm 644 cc-readme.txt -t "$_license_dir/"CCPL/
- mkdir CPL
- cp "$srcdir"/cpl-1.0.txt CPL/license.txt
+ install -vDm 644 cddl-1.0.txt "$_license_dir/"CDDL/license.txt
- mkdir EPL
- cp "$srcdir"/eclipse-1.0.txt EPL/license.txt
+ install -vDm 644 cpl-1.0.txt "$_license_dir/"CPL/license.txt
- mkdir {GPL2,GPL3}
- cp "$srcdir"/gpl-2.0.txt GPL2/license.txt
- cp "$srcdir"/gpl-3.0.txt GPL3/license.txt
- ln -s GPL2 GPL
+ install -vDm 644 eclipse-1.0.txt "$_license_dir/"EPL/license.txt
- mkdir {FDL1.2,FDL1.3}
- cp "$srcdir"/fdl-1.2.txt FDL1.2/license.txt
- cp "$srcdir"/fdl-1.3.txt FDL1.3/license.txt
- ln -s FDL1.2 FDL
+ install -vDm 644 gpl-2.0.txt "$_license_dir/"GPL2/license.txt
+ install -vDm 644 gpl-3.0.txt "$_license_dir/"GPL3/license.txt
+ ln -s GPL2 "$_license_dir/"GPL
- mkdir {LGPL2.1,LGPL3}
- cp "$srcdir"/lgpl-2.1.txt LGPL2.1/license.txt
- cp "$srcdir"/lgpl-3.0.txt LGPL3/license.txt
- ln -s LGPL2.1 LGPL
+ install -vDm 644 fdl-1.2.txt "$_license_dir/"FDL1.2/license.txt
+ install -vDm 644 fdl-1.3.txt "$_license_dir/"FDL1.3/license.txt
+ ln -s FDL1.2 "$_license_dir/"FDL
- mkdir LPPL
- cp "$srcdir"/lppl.txt LPPL/license.txt
+ install -vDm 644 lgpl-2.1.txt "$_license_dir/"LGPL2.1/license.txt
+ install -vDm 644 lgpl-3.0.txt "$_license_dir/"LGPL3/license.txt
+ ln -s LGPL2.1 "$_license_dir/"LGPL
- mkdir MPL
- cp "$srcdir"/mpl-1.1.txt MPL/license.txt
+ install -vDm 644 lppl.txt "$_license_dir/"LPPL/license.txt
- mkdir MPL2
- cp "$srcdir"/mpl-2.0.txt MPL2/license.txt
+ install -vDm 644 mpl-1.1.txt "$_license_dir/"MPL/license.txt
- mkdir PerlArtistic
- cp "$srcdir"/perlartistic.txt PerlArtistic/license.txt
+ install -vDm 644 mpl-2.0.txt "$_license_dir/"MPL2/license.txt
- mkdir PHP
- cp "$srcdir"/php-3.01.txt PHP/license.txt
+ install -vDm 644 perlartistic.txt "$_license_dir/"PerlArtistic/license.txt
- mkdir PSF
- cp "$srcdir"/python-2.txt PSF/license.txt
+ install -vDm 644 php-3.01.txt "$_license_dir/"PHP/license.txt
- mkdir RUBY
- cp "$srcdir"/ruby-license.txt RUBY/license.txt
+ install -vDm 644 python-2.txt "$_license_dir/"PSF/license.txt
- mkdir W3C
- cp "$srcdir"/w3c.txt W3C/license.txt
+ install -vDm 644 ruby-license.txt "$_license_dir/"RUBY/license.txt
- mkdir ZPL
- cp "$srcdir"/ZopePublicLicense.txt ZPL/license.txt
+ install -vDm 644 unlicense.txt "$_license_dir/"Unlicense/license.txt
- mkdir Boost
- cp "$srcdir"/boost-1.0.txt Boost/license.txt
+ install -vDm 644 w3c.txt "$_license_dir/"W3C/license.txt
- mkdir Unlicense
- cp "$srcdir"/unlicense.txt Unlicense/license.txt
+ install -vDm 644 ZopePublicLicense.txt "$_license_dir/"ZPL/license.txt
- mkdir WTFPL2
- cp "$srcdir"/wtfpl-2.txt WTFPL2/license.txt
- ln -s WTFPL2 WTFPL
+ install -vDm 644 wtfpl-2.txt "$_license_dir/"WTFPL2/license.txt
}
# vim: ts=2 sw=2 et: