summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Kugland2023-01-09 04:49:50 -0300
committerAndré Kugland2023-01-09 04:54:13 -0300
commit7305363a810f8d0080661e1c1f51ec0a33756cdf (patch)
treeef2c4ff18a46e74b1f64e78378bb460e71b60823
parent31810553f258c7de9dc8160782a52cb7653104b7 (diff)
downloadaur-otf-gfs-majuscule.tar.gz
A few changes in the package:
* Each font gets a difference license file installed on `/usr/share/licenses/otf-gfs-majuscule`. This is because each font has a different copyright notice in the license. * The PKGBUILD now doesn't use unzip, since bsdtar is handling the zip files just fine. * Changed hash from md5 to sha512.
-rw-r--r--.SRCINFO29
-rw-r--r--LICENSE91
-rw-r--r--PKGBUILD67
3 files changed, 37 insertions, 150 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3b54aa40f5e9..da44dc578e90 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,10 @@
pkgbase = otf-gfs-majuscule
pkgdesc = Open Font Majuscule typefaces, provided by the Greek Font Society
pkgver = 20181103
- pkgrel = 3
+ pkgrel = 4
url = http://www.greekfontsociety-gfs.gr/typefaces/majuscule
arch = any
- license = custom:SIL-OTF
- noextract = GFS_Ignacio.zip
- noextract = GFS_Garaldus.zip
- noextract = GFS_Jackson.zip
- noextract = GFS_Nicefore.zip
- noextract = GFS_Eustace.zip
- noextract = GFS_Fleischman.zip
- noextract = GFS_Ambrosia.zip
- noextract = LICENSE
+ license = OFL
source = http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Ignacio.zip
source = http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Garaldus.zip
source = http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Jackson.zip
@@ -20,15 +12,12 @@ pkgbase = otf-gfs-majuscule
source = http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Eustace.zip
source = http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Fleischman.zip
source = http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Ambrosia.zip
- source = LICENSE
- md5sums = ec397b1199ca79404adec355eeb5c163
- md5sums = 7638996769c9162f0d8b8885c18af68f
- md5sums = 73d235051292e23bc807c71d8c951e6b
- md5sums = 02fcaf05448bb0df6696567975014132
- md5sums = b54eea11af83c569b861a17800fb1945
- md5sums = adcb048bdca18dd243c0337bdb0c5ecd
- md5sums = 891a6e880ca0ef06223eedfab7c0e035
- md5sums = 288069c8fb0c828b081833cfcfe0638b
+ sha512sums = 1195534ba5007e0fc28ff45a374925f471dd89e0b66cf7720a015ea6ed655dd61e8ed38ce984e3013f9abb3da7786ae32c8fcb59a3bc007fd3f3b9fd6f58e871
+ sha512sums = fdc4f49d85f20d46b23af79036940726a02674503425d0d11c88cd14ed87b54ff24c75e321a5439247362a55350ca28fb5b6ec03ad31a41ef5abca6c23a4e42b
+ sha512sums = 0b0e18b25418b79968201ffc1ba069d009f923d08c3a55ed5d80fdd7071be1343574b61d0eedcae88db9941523dd4c818cd1b458934d8acfbab602035fca54e5
+ sha512sums = 6610494bc6dd41f19f606b999e08fa0a7f9a31f0fdf2ea753929580e8ae8e002528632a467595fc5a92eb0b8de93cb26fd0e7bd3cc80c6d8a72648ef6cba7f47
+ sha512sums = 1054a61e29c464b5891959de4c19326a770c266d007707d73c9a77e1d86335bcda6052fbf4b627e8c2ac3d636ecadc688f26a814f6ac25a2a78fb8f25150f046
+ sha512sums = 47dcf29acd7b40ffae3785782d379d09cdc13250125811df29ce39c0415bb9fdec3a6bf863ceeb15b7ae67505ba01bb392d73059fc7b3739d3acf06cd3387575
+ sha512sums = 032c445fa32af9858117dd7e144412d70e8eb813a00982b4727fd792bfcc64822ce1c534c4c6c5fc2e2390d2f518de497b33cdb7dce262885810ff4e328bd764
pkgname = otf-gfs-majuscule
-
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 77b17316cf1e..000000000000
--- a/LICENSE
+++ /dev/null
@@ -1,91 +0,0 @@
-This Font Software is licensed under the SIL Open Font License, Version 1.1.
-This license is copied below, and is also available with a FAQ at:
-http://scripts.sil.org/OFL
-
-
------------------------------------------------------------
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
------------------------------------------------------------
-
-PREAMBLE
-The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
-
-The OFL allows the licensed fonts to be used, studied, modified and
-redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded,
-redistributed and/or sold with any software provided that any reserved
-names are not used by derivative works. The fonts and derivatives,
-however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this license and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Reserved Font Name" refers to any names specified as such after the
-copyright statement(s).
-
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
-
-"Author" refers to any designer, engineer, programmer, technical
-writer or other person who contributed to the Font Software.
-
-PERMISSION & CONDITIONS
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
-
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
-
-2) Original or Modified Versions of the Font Software may be bundled,
-redistributed and/or sold with any software, provided that each copy
-contains the above copyright notice and this license. These can be
-included either as stand-alone text files, human-readable headers or
-in the appropriate machine-readable metadata fields within text or
-binary files as long as those fields can be easily viewed by the user.
-
-3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
-
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
-Software shall not be used to promote, endorse or advertise any
-Modified Version, except to acknowledge the contribution(s) of the
-Copyright Holder(s) and the Author(s) or with their explicit written
-permission.
-
-5) The Font Software, modified or unmodified, in part or in whole,
-must be distributed entirely under this license, and must not be
-distributed under any other license. The requirement for fonts to
-remain under this license does not apply to any document created
-using the Font Software.
-
-TERMINATION
-This license becomes null and void if any of the above conditions are
-not met.
-
-DISCLAIMER
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
-OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/PKGBUILD b/PKGBUILD
index c48a4b2043c3..953e5b6a8b26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,49 +1,38 @@
-# Maintainer: GordonGR <ntheo1979@gmail.com>
-# Contributor: Angel Sartonev <a.sartonev at gmail dot com>
+# Maintainer: André Kugland <kugland at gmail dot com>
+# Prev. maintainer: GordonGR <ntheo1979 at gmail dot com>
+# Prev. contributor: Angel Sartonev <a.sartonev at gmail dot com>
pkgname=otf-gfs-majuscule
pkgver=20181103
-pkgrel=3
+pkgrel=4
pkgdesc='Open Font Majuscule typefaces, provided by the Greek Font Society'
arch=(any)
url='http://www.greekfontsociety-gfs.gr/typefaces/majuscule'
-license=('custom:SIL-OTF')
-depends=()
+license=('OFL')
source=("http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Ignacio.zip"
- "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Garaldus.zip"
- "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Jackson.zip"
- "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Nicefore.zip"
- "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Eustace.zip"
- "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Fleischman.zip"
- "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Ambrosia.zip"
- "LICENSE")
-
-md5sums=('ec397b1199ca79404adec355eeb5c163'
- '7638996769c9162f0d8b8885c18af68f'
- '73d235051292e23bc807c71d8c951e6b'
- '02fcaf05448bb0df6696567975014132'
- 'b54eea11af83c569b861a17800fb1945'
- 'adcb048bdca18dd243c0337bdb0c5ecd'
- '891a6e880ca0ef06223eedfab7c0e035'
- '288069c8fb0c828b081833cfcfe0638b')
-
-noextract=(${source[@]##*/})
+ "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Garaldus.zip"
+ "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Jackson.zip"
+ "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Nicefore.zip"
+ "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Eustace.zip"
+ "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Fleischman.zip"
+ "http://www.greekfontsociety-gfs.gr/_assets/fonts/GFS_Ambrosia.zip")
+
+sha512sums=('1195534ba5007e0fc28ff45a374925f471dd89e0b66cf7720a015ea6ed655dd61e8ed38ce984e3013f9abb3da7786ae32c8fcb59a3bc007fd3f3b9fd6f58e871'
+ 'fdc4f49d85f20d46b23af79036940726a02674503425d0d11c88cd14ed87b54ff24c75e321a5439247362a55350ca28fb5b6ec03ad31a41ef5abca6c23a4e42b'
+ '0b0e18b25418b79968201ffc1ba069d009f923d08c3a55ed5d80fdd7071be1343574b61d0eedcae88db9941523dd4c818cd1b458934d8acfbab602035fca54e5'
+ '6610494bc6dd41f19f606b999e08fa0a7f9a31f0fdf2ea753929580e8ae8e002528632a467595fc5a92eb0b8de93cb26fd0e7bd3cc80c6d8a72648ef6cba7f47'
+ '1054a61e29c464b5891959de4c19326a770c266d007707d73c9a77e1d86335bcda6052fbf4b627e8c2ac3d636ecadc688f26a814f6ac25a2a78fb8f25150f046'
+ '47dcf29acd7b40ffae3785782d379d09cdc13250125811df29ce39c0415bb9fdec3a6bf863ceeb15b7ae67505ba01bb392d73059fc7b3739d3acf06cd3387575'
+ '032c445fa32af9858117dd7e144412d70e8eb813a00982b4727fd792bfcc64822ce1c534c4c6c5fc2e2390d2f518de497b33cdb7dce262885810ff4e328bd764')
package() {
-
-cd "$srcdir"
-
-unzip GFS_Ignacio.zip
-unzip GFS_Garaldus.zip
-unzip GFS_Jackson.zip
-unzip GFS_Nicefore.zip
-unzip GFS_Eustace.zip
-unzip GFS_Fleischman.zip
-unzip GFS_Ambrosia.zip
-
-install -d $pkgdir/usr/share/fonts/$pkgname/
-install -Dm644 $srcdir/GFS*/*otf $pkgdir/usr/share/fonts/$pkgname/
-install -d $pkgdir/usr/share/licenses/$pkgname/
-install -Dm644 $srcdir/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
+ cd "$srcdir"
+ install -d "$pkgdir/usr/share/fonts/$pkgname/"
+ install -d "$pkgdir/usr/share/licenses/$pkgname/"
+ for font in Ambrosia Eustace Fleischman Garaldus Ignacio Jackson Nicefore; do
+ find . -iwholename "./GFS_${font}/GFS*${font}.otf" \
+ -exec install -Dm644 '{}' "$pkgdir/usr/share/fonts/$pkgname/" ';'
+ find . -iwholename "./GFS_${font}/OFL.txt" \
+ -exec install '{}' "$pkgdir/usr/share/licenses/$pkgname/OFL-GFS_${font}.txt" ';'
+ done
}