summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Crochet2020-06-30 12:26:25 -0500
committerJeffrey Crochet2020-06-30 12:26:25 -0500
commit227bed08af4f7858e25c0329f8ec24a2ed9547ec (patch)
tree76b9efb0eb30fde2a8db2b93f3953aa59d500f60
parentc030b804b01a8f983f2c1c350ebb047e82084a23 (diff)
downloadaur-227bed08af4f7858e25c0329f8ec24a2ed9547ec.tar.gz
Now uses official OTB conversion; no fonttosfnt dependency
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD22
2 files changed, 5 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fa54889a528..b8cfeebd30b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
pkgbase = gohufont-otb
pkgdesc = OpenType bitmap conversion of Gohufont
pkgver = 2.1
- pkgrel = 4
+ pkgrel = 5
url = https://font.gohu.org
arch = any
license = custom:WTFPL
- makedepends = fonttosfnt
conflicts = gohufont
conflicts = gohu-ttf
conflicts = gohufont-powerline
- source = https://font.gohu.org/gohufont-2.1.tar.gz
- md5sums = 154921c092ac5a4e1806e04d84d6707d
+ source = https://font.gohu.org/gohufont-2.1-otb.tar.gz
pkgname = gohufont-otb
diff --git a/PKGBUILD b/PKGBUILD
index 4877218c408..38aa5a0bb88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,17 @@
# Maintainer: Jeffrey Crochet <jlcrochet at pm dot me>
-# PKGBUILD based on dina-font-otb by Ckat
pkgname=gohufont-otb
pkgver=2.1
-pkgrel=4
+pkgrel=5
pkgdesc="OpenType bitmap conversion of Gohufont"
arch=(any)
url=https://font.gohu.org
license=(custom:WTFPL)
-makedepends=(fonttosfnt)
conflicts=(gohufont gohu-ttf gohufont-powerline)
-source=(https://font.gohu.org/gohufont-$pkgver.tar.gz)
-md5sums=(154921c092ac5a4e1806e04d84d6707d)
-
-_ex_pt() {
- _pt=${1%.pcf.gz}
- _pt=${_pt#*-}
- echo $_pt
-}
-
-build() {
- cd "$srcdir/gohufont-$pkgver"
- for f in *uni*; do
- fonttosfnt -o "${f/pcf.gz/otb}" "$f"
- done
-}
+source=(https://font.gohu.org/gohufont-$pkgver-otb.tar.gz)
package() {
- cd "$srcdir/gohufont-$pkgver"
+ cd "$srcdir/gohufont-$pkgver-otb"
for i in *.otb; do
install -Dm 644 $i "$pkgdir/usr/share/fonts/$pkgname/$i"
done