summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormarin2019-10-04 18:37:24 +0200
committermarin2019-10-04 18:37:24 +0200
commitb7dc7050a566fd5415a41239f27ee5685a099044 (patch)
tree4b6be1b3c7a6680358c75d42fa659fabb19db816
parentf2896c3bb10966029d823345ff03a40b617d6b14 (diff)
downloadaur-b7dc7050a566fd5415a41239f27ee5685a099044.tar.gz
update to otb
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
-rw-r--r--cherry-font-git.install9
3 files changed, 13 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5bd709592b8..cb50532e236 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = cherry-font-git
pkgdesc = cherry, yet another bitmap font
pkgver = 1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/turquoise-hexagon/cherry
install = cherry-font-git.install
arch = any
makedepends = git
- makedepends = xorg-font-utils
+ makedepends = fonttosfnt
source = cherry-font-git::git+https://github.com/turquoise-hexagon/cherry
md5sums = SKIP
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 34af35b11bb..aa03c86be88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,25 @@
pkgname=cherry-font-git
pkgver=1.0
-pkgrel=1
+pkgrel=2
pkgdesc='cherry, yet another bitmap font'
url=https://github.com/turquoise-hexagon/cherry
source=("$pkgname::git+https://github.com/turquoise-hexagon/cherry")
licence=('MIT')
arch=('any')
-makedepends=('git' 'xorg-font-utils')
+makedepends=('git' 'fonttosfnt')
install="$pkgname.install"
md5sums=('SKIP')
sha256sums=('SKIP')
-build ()
-{
- cd "$srcdir/$pkgname" || exit
+build() {
+ cd "$srcdir/$pkgname"
- for b in *.bdf; do
- bdftopcf -o "${b/.bdf/.pcf}" "$b"
- done
+ ./make.sh
}
-package ()
-{
- cd "$srcdir/$pkgname" || exit
+package() {
+ cd "$srcdir/$pkgname"
install -d -m755 "$pkgdir/usr/share/fonts/misc"
install -D -m644 *.pcf "$pkgdir/usr/share/fonts/misc"
diff --git a/cherry-font-git.install b/cherry-font-git.install
index 7308d9ac417..787042b9bd8 100644
--- a/cherry-font-git.install
+++ b/cherry-font-git.install
@@ -1,5 +1,4 @@
-update_font_cache ()
-{
+update_font_cache() {
echo 'updating font cache...'
fc-cache -f
mkfontscale /usr/share/fonts/misc
@@ -7,6 +6,6 @@ update_font_cache ()
echo 'done.'
}
-post_install () { update_font_cache; }
-post_upgrade () { update_font_cache; }
-post_remove () { update_font_cache; }
+post_install() { update_font_cache; }
+post_upgrade() { update_font_cache; }
+post_remove() { update_font_cache; }