summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Weimar2020-07-10 19:58:53 +0200
committerMarkus Weimar2020-07-10 19:58:53 +0200
commitb426ee082429affa6407e76288d47983d69c425c (patch)
tree19ae1148d38f20c68b477a06b00be2e127b67cdc
parentc33d0ba5b45307528d2e4b1518f1f369b6c1ff7b (diff)
downloadaur-b426ee082429affa6407e76288d47983d69c425c.tar.gz
Revise PKGBUILD.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 20fa67ae2c9a..89ed394d36ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,11 @@
pkgbase = otf-unna
pkgdesc = A transitional typeface family from Omnibus-Type.
pkgver = 2.008
- pkgrel = 2
+ pkgrel = 3
url = https://www.omnibus-type.com/fonts/unna/
arch = any
- license = custom:OFL
- depends = fontconfig
- depends = xorg-font-utils
- source = otf-unna-2.008-2-OFL.txt::https://raw.githubusercontent.com/Omnibus-Type/Unna/master/OFL.txt
+ license = OFL
+ source = otf-unna-2.008-3-OFL.txt::https://raw.githubusercontent.com/Omnibus-Type/Unna/master/OFL.txt
source = https://raw.githubusercontent.com/Omnibus-Type/Unna/master/fonts/otf/Unna-Bold.otf
source = https://raw.githubusercontent.com/Omnibus-Type/Unna/master/fonts/otf/Unna-BoldItalic.otf
source = https://raw.githubusercontent.com/Omnibus-Type/Unna/master/fonts/otf/Unna-Italic.otf
diff --git a/PKGBUILD b/PKGBUILD
index c2bcef3f0623..3d93bb1681d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,11 @@
# Maintainer: Markus Weimar <mail@markusweimar.de>
pkgname=otf-unna
pkgver=2.008
-pkgrel=2
+pkgrel=3
pkgdesc='A transitional typeface family from Omnibus-Type.'
arch=('any')
url='https://www.omnibus-type.com/fonts/unna/'
-license=('custom:OFL')
-depends=('fontconfig' 'xorg-font-utils')
+license=('OFL')
source=("${pkgname}-${pkgver}-${pkgrel}-OFL.txt::https://raw.githubusercontent.com/Omnibus-Type/Unna/master/OFL.txt"
'https://raw.githubusercontent.com/Omnibus-Type/Unna/master/fonts/otf/Unna-Bold.otf'
'https://raw.githubusercontent.com/Omnibus-Type/Unna/master/fonts/otf/Unna-BoldItalic.otf'
@@ -27,7 +26,7 @@ sha256sums=('e542171ed5902b35c863bd1b90cff2c80f97ecfe2c7b31aeb16e951f958f5220'
'e296d35402d65379f99eb7bb296ace53c27e9f51a09d4231653843c9e3c5db0a')
package() {
- install -d ${pkgdir}/usr/share/fonts/${pkgname}/
- install -m644 ${srcdir}/*.otf ${pkgdir}/usr/share/fonts/${pkgname}/
+ install -d ${pkgdir}/usr/share/fonts/OTF/
+ install -m644 *.otf ${pkgdir}/usr/share/fonts/OTF/
install -D -m644 ${pkgname}-${pkgver}-${pkgrel}-OFL.txt ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
}