jobcore/licenses/PKGBUILD
2022-03-20 14:19:37 +02:00

170 lines
12 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=licenses
pkgver=20220125
pkgrel=01
pkgdesc="A set of common license files"
arch=(any)
url="https://www.archlinux.org/"
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::https://www.boost.org/LICENSE_1_0.txt
cc-by-3.0.txt
cc-by-nc-3.0.txt
cc-by-nc-nd-3.0.txt
cc-by-nc-sa-3.0.txt
cc-by-nd-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::https://www.php.net/license/3_01.txt
python-2.txt
ruby-license.txt
unlicense.txt::https://unlicense.org/UNLICENSE
w3c.txt
ZopePublicLicense.txt
)
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-nc-3.0.txt -t "$_license_dir/"CCPL/
install -vDm 644 cc-by-nc-nd-3.0.txt -t "$_license_dir/"CCPL/
install -vDm 644 cc-by-nc-sa-3.0.txt -t "$_license_dir/"CCPL/
install -vDm 644 cc-by-nd-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
}
#---- license gpg-key sha256sums ----
license=(custom:none)
sha512sums=('3568a76677f3d55dbbc7fc33c4073b4714cc6f68d92cd842a9ca2b230e8bd2140e59c3fc3cce34be34ffed78d75ab6e9d991ba59bf7c4addde7fb96648d3375d'
'98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8'
'c07582f49d8d774385c37fb15804bac136bf8c6eef4cc1b37d5bf890b785f31eeb6ca537385edb469e35003d5adc5fe752d1805ef4b31909bc1be7bc1bb38695'
'd6078467835dba8932314c1c1e945569a64b065474d7aced27c9a7acc391d52e9f234138ed9f1aa9cd576f25f12f557e0b733c14891d42c16ecdc4a7bd4d60b8'
'c51c6e3eab06f1d1876f2c4672f839d2bc6730ee71b80f33105e907d4f93fa39e62bf2d914bc6ad6657eb66a0e32d26787294bad37023d4ae2349ea200f7dd95'
'26132167b1dc2a451af1c1aadf677a7c5adbe94a8c614c8b270834e8ee24ccb75b9bca33da312ef5a9fd8b79c7d2653052ecb089659cf63dfe33f70f64596e8f'
'5b63cf312ec557af66ab55e6b4d338d5f4f6a6a86b240dc18eecdd9c618feec92239a4ced9d8b5edde0b20ba6a67c26d371f2b06f0031b6642244fbb5774bb02'
'4ec4234198d9c919bfd795f2be64a43d60316944af07f0e9c815231f991f9d850f8b419d268b1e372e3072d1db6c26d79bd6167db36363913642c7708d3a356f'
'6cf3f7be5a5f5e5d5bc0436dcf050bdecb0a28c62b33f4b574624e332240b547dae67ce8b1729407955343d9504cc8f7276d9251a3da53ae97789bf7b8ffc762'
'95f6c764dcf30a0e225929d880144c10166da67fba6d690190f77e04a0daa66f26f1eba08b2a8c4893da2853cd3cd52572dcfc857ffa038bd2596e70e1885918'
'228b25c065796615e756137a4b52d952624670348e4ea5c937065ae63f96f28cb2342fba9d671ff17f09555b53edf658716c2219b432a75e73e2f3e933184ea1'
'3f09a16f19941b39e5206fcdfb8ae4e0b4adeaaf17baba3cce3f0573bb319ac213033392af55eb75355e3f39382ee1b381d6c58b294f376cdbf87537356f9617'
'51a43c9de1a8ef92264655118e053b4a2dd1e1fe4a8680cfe90a6a1a87c2c2c5253a1a70f8b12b18aa5ab33756e8a7a9a86fc67701edccd05156bc38ea2cd79c'
'861e7f297c4df79b4f218876b850ce1f70687edb7029898e8bfa4255a321ba7e48a82f6b3a9f56779d29b214cce4ce81f0e36c44462065d3b848f3fd30375eb6'
'22d2414762188840be68198978b9ece122813d1cac522632b8fa8315749335b43b1b58a6475fec0ef593a7bc568368526a90e199999808a118a7c6bb55906ac1'
'bea1788b2bdc84f470e459114b871cf4ee991718964a63e18adde65116806d7676484cb30857cf74dece5eef5f96a015ee4a21900e019623e5d3484868b28b7f'
'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957'
'd361e5e8201481c6346ee6a886592c51265112be550d5224f1a7a6e116255c2f1ab8788df579d9b8372ed7bfd19bac4b6e70e00b472642966ab5b319b99a2686'
'1bca76c9f2f559a7851c278650125cd4f44a7ae4a96ceee6a6ba81d34d28fe7d6125c5ee459fef729b6a2a0eba3075c0841c8a156b3a26f66194f77f7d49151c'
'6a21e9f6706dacb99162dd4c70ec704e3fdf283b93ca2cc1521e08e55e0727db4c7384d027d54739f100cd26c8d3d5be717715c6b21086a9bb22efb893c34fcf'
'4c84834dc54cb6e4d88ad9907ab6a541c038a389954679453f372d9481dd45e64733b7189aca34a06e44171f5327d957735677db9ce72d2d2d60136a302680a9'
'4d54a4a55189e36134fd8af9e0800a037d360dc05246dd2cd942e809f95db305cdf39b89d0e9732318075afd0e1ed2f90856eaa66a67a98ccbe8cfde99750af3'
'9eda310d0d71a8d7d4e07ae801f1c3309a46cd59b9ee566a8d0ae98dcfdebc93dcf9f399ba1e5ff5f43e932ec21078de2be88b0699dfd3ec4828061011216389'
'dc6efc925c7ef8df903d7f7f66b6d3ab17e73e5037bc12c50109925f12c6011e18d873d081d4da1ff2d52669584b7168239132ff2f665ca6d5178f7efe1beaf6'
'f6acda74831a984baf170b1e423bbea8fdeb41c5e7266614e203bc4265dcfd56a78740c2369d6408dadcec7835a52dd80efa0a0f5466cac55491d99cfe0ec075'
'f9d70fce91b44721124b2e1249a93ac902318c294da182a53ef0cf2e8f2f47c19f6b4abf964b598798ecbb954810cf66192a52ec3ace00ea5aacbbfcf8c22363'
'767242ed40e94d11521fba9e2a248ae998276f57b7b34e94d91ac392add2f835d8e0c01d1b13ce1def7782dca5dbfdbef37ea9cb802b51561718d299a3b87818'
'aa647966e7fb62ffcd7bfc1e56a8ebe38e8384a36c14e07fec4ccf3be91ffa1b3bbd9798901fa7956056c26d124f067582366bdb9581db1f742291c86e64e39d'
'5cd651f40ea91397774d2bad8dcfdac0354d5930d892c07908caf6127eb8ee1255744959d51b9a756efa588aefce49d34c9764844282a711b50602295f8a2b3a'
'541777a015eb17bfd2dc07f5fb3a9aba950ded5bd0f53a80c52d6f4e2cb85a28a94294dbba1ca54560d0f3aadd749c94a31d67d76c1e4e6fd2255056415d52c7')
b2sums=('b6829320f725e3e45c4807ef5deb4738a691fb3ab146d8531b81fdbccd8376a826c8ec76165985cdf37d534f68e395652c96841ba7636c4bd34c49b7c7b3a9ec'
'1bbdb8ea81b42a8ce554f92fd57009eef6b296472f910c5542d8a445e34bb0eee0e627a74462b9f453fe9d8853bde71fdb0eea11102bb604129753de6ecc6e06'
'4d249b4e8d54d2d2790a3afb6cf9fe3903985fd540efdc8f26b62b50378f3ac484f7998ee1663d3f4a7cfb624ab1ce4365ac7b9c9b4fde96faa5c33dd13ab237'
'3e7074b0bcbdd537026ae4508d915e0b14d5e97d305fcd26bb1ff5494509057cd8e60363ab416e4dd68e6fb7a84e5f456ecc3d5e46a33cb2f598758691ffeaf2'
'6b8f6fdebc86fc05d931fdf0b8013c815ffd775560ae4a69e917b204999a5cfa5413d665222f140d22e3623c37763794e86dcba17641dad8c226d1d35e17f00b'
'9afeb52cf4d5ad9d429fff6c9eade39fad242061b5ddca7e511070c4cfd0d33c73747b6801abb9132aeba09529d80ca0168bd7dbf1b2635d2d2dab76c4fe2d36'
'7f376e3d72866e4882f755f973b06fcae1291c9e1ad8d5549f95e637e4b9bafbe3120c465ef3e8128e01edb50da689ba57327d24eab819f57bc8b705d447709c'
'14accb9372c6308f2761f9c9cd4489f7f1555ff04084acda9d9ec8e9517c3eb119544b228db0578d7ca229b9d47341a5bf0a1a948499bd35d8d97f508cf51f45'
'a25af7d323742405c2872d7f4c0b62038684239d8bf111b3a94398930d737bb1818b2eba4d9031b6bc79be26ef59087f63ed64d17f0208de5a7ac28ecc1c95b0'
'714c13820c79b96799138cada5ea414a79d16c4ed6c6b65dcf532ed73612a25632cbbe6104af4aedf0dc8fe159a18621c849efae25a0503c9e50e611efd1b92a'
'086c30075b8ab1f15734df28d739ec7d65b6d1f1ebf681641b5cc7f2d8a2760dc6d40a627bb41046f44e72b2fd9b40b2456fa9bb41a00602fd3a7fefa6b2661c'
'ac86541da47d3d9b05b7b84357a21dca7e170e25b5ae99ab177eacbe7f16298b031302ad01deafee81bfbdef72cb9679abfd24722551b37a55341af03b510146'
'c1f8c0a7c2596a9e8db61505b63f5b7ea54d7c0c86f4e8821bd27160a3976cc3876baef386bfecfc21816a2230a539bf54ae333c6c9241e392312e910ba9f342'
'113530ed800ced04cc82a7424577f1edc3234601068ab485c9aaf1ca3f45fe43fed01eee6b2642cba9618a11ab33ac73a3beefbbd6f0de879905df5109935992'
'a580eceb4f7514964ef00e8c5130b9568fb2cf99d9bef0222662fa994af7b1634c1034c846eac9d63c21b67c4f94f91b79d144b1d3b4a856ca10243548407b84'
'5ac1e0794bd70d6820efacd36b8885a37e5364ce6bfee9382d10d37631edf88c7c3b05e35913cdadc687837adc942d907975cf53e21b4a65e9f711114f1a3b3d'
'1e1e108a77d8676eb68467cdfbf95684f0bad991bfcc24e7bd3d1eec58d746f14d20798c3bcf64e9bdd1ff4a9c5ec02ccb4c06331bcf251a9d1d0f28b6875296'
'74915e048cf8b5207abf603136e7d5fcf5b8ad512cce78a2ebe3c88fc3150155893bf9824e6ed6a86414bbe4511a6bd4a42e8ec643c63353dc8eea4a44a021cd'
'b15551a6f0f0923dfb15912db9f6976898bc3d60ab3f5505e48d5e252341bb0855f4c7f23d66e9ce8809a23187b5f2ea08c99c8eb2c3d4d0407466c222cfdcca'
'4f97bb19f3d6aa5af71bec5a070b4317c0742069d23f591092e435ff8805788f7279524a1bb8a10e67a1013e0391e4a719bb8d89ccdae728b4eb134d7697a3c8'
'f95087f01083423ee41d47fed72799aee2a4837c3ebc378a13f7ace0a83d9132c76aa1c16eb00adcc98d048f4bc970be980d3e9e1f71df93ed721aa1583892b8'
'5d342f32a42b4563b5604b3101cc7122516c6a514b853eb3974b61ecb68ef0691b9da1742e5d0c688247e51c178b26d34957b01b357ec8a8be28b22554bac73a'
'e57391102771f85905986aac45cb923f1738fe96ec4a520bad9a79ce68e7a5b14898cdc97d17d84dc8aff7c5aa2aab853701ef8b27c6a5fe9c1f634c19ca9d9b'
'953343f375b14990dde1f51b9f9dc1f11d3c70a75f82575698390404af31e2983ba9acf03139e65026c737bf7afadd7b956e4ddd94fe303e1438041dc1667c79'
'144613d910215899c1183e7dc2588ca7272fbd3b92023704536f007feb0746b9c1ef9890a5245275623c20c14de45ef1514fab2dc6d62274db6a10c276a96681'
'9ff800831a5c1d3b45a98c56d513935dc5b1e50e285de658d499fdc6d52736998b58cc5a5ecca83b8c98d38869122f01633e8e3ed8b9771e5919ab0f61da2cc4'
'0b1e59408032239cd6ea8765eabca5cafccfce94a05785824aba1dc8b37188695bf7990e3454b0f2d0b399f1a22c30de7f056e2f685fafadcef71cd1a91a6796'
'560b95eb5bc04b02762fe9fa42554b47d161d22251f2b18f642d9c45f8bfa574fd847228935ee5244e6dbb5ee0f1fa446fe4ce6f5ff9feeb7ef3e5a91b894549'
'41fe12d3613e61134c9b027c6e3dacacdc368e6eecc1614578850f5b784813b41cf2089418738706939db2c7fb9f17cdab005cd134a440a8aadf8b887aa8fa48'
'63aefec94bf37792b1b10ee4ae36a5ad54f5df1ef175eddf8528bc8fb1c5a71cf7c258f856f99a9ed4e678c9226f0ac99ea825fc68e10695e905a618c36896e8')