summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-03-12 12:40:40 +0300
committerCaleb Maclennan2020-03-12 12:41:17 +0300
commit6fa637bd33bb2738f0f9e457510d215e56f69bba (patch)
treeeb099fe23699e9c034bf64256b8a159d31cfe919
parent3ad523066f5f7f9402f4539c4dd4f1d183a6ba07 (diff)
downloadaur-ttf-league-mono.tar.gz
Don't package OTF fonts in TTF package, drop obsolete dependencies
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
2 files changed, 16 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 583946ceeb1..7c3c82417f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,13 @@
pkgbase = ttf-league-mono
- pkgdesc = A mashup of sorts, inspired by some beautiful forms found in both Fira Mono, Libertinus Mono, and Courier.
+ pkgdesc = a monospace typeface inspired by Fira Mono, Libertinus Mono, and Courier
pkgver = 20171115
- pkgrel = 1
+ pkgrel = 2
url = http://theleagueofmoveabletype.com/league-mono
arch = any
groups = lmt-fonts
- license = custom:OFL
- depends = fontconfig
- depends = xorg-fonts-encodings
- depends = xorg-font-utils
- source = ttf-league-mono-20171115.zip::https://github.com/theleagueof/league-mono/archive/master.zip
- md5sums = 0e9214b72309aa04cfee76f5f8bb76cb
+ license = OFL
+ source = ttf-league-mono-20171115.zip::https://github.com/theleagueof/league-mono/archive/3536b38d1baee171787ba0fe6194a13e18e540bd.zip
+ sha256sums = cbb244ea4dcab23c5c810b62b51bb095b444738d7590cd44d2192867f005e4bd
pkgname = ttf-league-mono
diff --git a/PKGBUILD b/PKGBUILD
index 955722eee3c..221a936c9fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,22 @@
# Maintainer: LightDot <lightdot -a-t- g m a i l>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
_fnt_name=league-mono
pkgname=ttf-$_fnt_name
pkgver=20171115
-pkgrel=1
-pkgdesc="A mashup of sorts, inspired by some beautiful forms found in both Fira Mono, Libertinus Mono, and Courier."
+_sha=3536b38d1baee171787ba0fe6194a13e18e540bd
+pkgrel=2
+pkgdesc="a monospace typeface inspired by Fira Mono, Libertinus Mono, and Courier"
arch=('any')
url="http://theleagueofmoveabletype.com/$_fnt_name"
-license=('custom:OFL')
+license=('OFL')
groups=('lmt-fonts')
-depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/$_fnt_name/archive/master.zip")
-md5sums=('0e9214b72309aa04cfee76f5f8bb76cb')
+source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/$_fnt_name/archive/$_sha.zip")
+sha256sums=('cbb244ea4dcab23c5c810b62b51bb095b444738d7590cd44d2192867f005e4bd')
package() {
- install -d "$pkgdir"/usr/share/fonts/OTF
- install -d "$pkgdir"/usr/share/fonts/TTF
- install -Dm644 "$srcdir/$_fnt_name"-master/otf/*.otf "$pkgdir"/usr/share/fonts/OTF/
- install -Dm644 "$srcdir/$_fnt_name"-master/ttf/*.ttf "$pkgdir"/usr/share/fonts/TTF/
-
- install -Dm644 "$srcdir/$_fnt_name"-master/ofl.markdown "$pkgdir/usr/share/licenses/$pkgname"/OFL.txt
+ cd "$_fnt_name-$_sha"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" ttf/*.ttf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" ofl*.markdown
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" readme.markdown
}