summaryrefslogtreecommitdiff
path: root/libre/licenses/PKGBUILD
blob: b3d7ef76db3f6141f22779b613162c38f93f3b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# 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=20220125
pkgrel=1
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() {
  local _license_dir="$pkgdir/usr/share/licenses/common"

  install -vDm 644 agpl-3.0.txt "$_license_dir/"AGPL3/license.txt
  ln -s AGPL3 "$_license_dir/"AGPL

  install -vDm 644 apache-2.0.txt "$_license_dir/"Apache/license.txt
  ln -s Apache "$_license_dir/"APACHE

  install -vDm 644 artistic-2_0.txt "$_license_dir/"Artistic2.0/license.txt

  install -vDm 644 boost-1.0.txt "$_license_dir/"Boost/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/

  install -vDm 644 cddl-1.0.txt "$_license_dir/"CDDL/license.txt

  install -vDm 644 cpl-1.0.txt "$_license_dir/"CPL/license.txt

  install -vDm 644 eclipse-1.0.txt "$_license_dir/"EPL/license.txt

  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

  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

  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

  install -vDm 644 lppl.txt "$_license_dir/"LPPL/license.txt

  install -vDm 644 mpl-1.1.txt "$_license_dir/"MPL/license.txt

  install -vDm 644 mpl-2.0.txt "$_license_dir/"MPL2/license.txt

  install -vDm 644 perlartistic.txt "$_license_dir/"PerlArtistic/license.txt

  install -vDm 644 php-3.01.txt "$_license_dir/"PHP/license.txt

  install -vDm 644 python-2.txt "$_license_dir/"PSF/license.txt

  install -vDm 644 ruby-license.txt "$_license_dir/"RUBY/license.txt

  install -vDm 644 unlicense.txt "$_license_dir/"Unlicense/license.txt

  install -vDm 644 w3c.txt "$_license_dir/"W3C/license.txt

  install -vDm 644 ZopePublicLicense.txt "$_license_dir/"ZPL/license.txt

  install -vDm 644 wtfpl-2.txt "$_license_dir/"WTFPL2/license.txt
}

# vim: ts=2 sw=2 et: