diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -2,7 +2,7 @@ pkgname=ttf-webhostinghub-glyphs pkgver=1.0 -pkgrel=6 +pkgrel=7 pkgdesc='WebHostingHub Glyphs icon font by webhostinghub.com' arch=('any') url='https://www.webhostinghub.com/glyphs/' @@ -14,9 +14,12 @@ source=('https://www.webhostinghub.com/glyphs/resources/whhg-font.zip' sha256sums=('c299b4c0fc02a2cc4b8efe8ddeb5cc9d13fcd5f86bcb83d4ff35326a82f9db97' 'e26a38873f73098c1c51420bcffc064c78d7f63fe2f0b009be4aea91ac7c3dab') +prepare() { + cp -rv $srcdir/whhg-font/font/webhostinghub{-,}glyphs.ttf + fontforge -script ./rename.pe $srcdir/whhg-font/font/webhostinghubglyphs.ttf +} + package() { - install -d $pkgdir/usr/share/fonts/TTF/ - install -m644 $srcdir/whhg-font/font/webhostinghub-glyphs.ttf $pkgdir/usr/share/fonts/TTF/ - ./rename.pe whhg-font/font/webhostinghub-glyphs.ttf - install -Dm644 $srcdir/whhg-font/font/webhostinghub-glyphs.ttf $pkgdir/usr/share/fonts/TTF/webhostinghubglyphs.ttf + install -Dm644 $srcdir/whhg-font/font/webhostinghub-glyphs.ttf $pkgdir/usr/share/fonts/TTF/webhostinghub-glyphs.ttf + install -Dm644 $srcdir/whhg-font/font/webhostinghubglyphs.ttf $pkgdir/usr/share/fonts/TTF/webhostinghubglyphs.ttf } |