summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrLi2019-06-25 11:11:28 +0800
committerBrLi2019-06-25 11:11:28 +0800
commit7134b45ae8557364bd81f1c0283bd64af70bcb06 (patch)
treeabc16c269fb2bfbc2cf6804cce3e4c75422ff188
parentb603d2c3eee206d9e2b4f0c8ecf9197657826ec4 (diff)
downloadaur-7134b45ae8557364bd81f1c0283bd64af70bcb06.tar.gz
updpkg, reserve rename.pe for future reference
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
-rwxr-xr-xttf-webhostinghub-glyphs.install15
3 files changed, 8 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4e180ac537ac..117cbe573c37 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
pkgbase = ttf-webhostinghub-glyphs
pkgdesc = WebHostingHub Glyphs icon font by webhostinghub.com
pkgver = 1.0
- pkgrel = 3
- url = http://www.webhostinghub.com/glyphs/
- install = ttf-webhostinghub-glyphs.install
+ pkgrel = 4
+ url = https://www.webhostinghub.com/glyphs/
arch = any
license = OFL
makedepends = fontforge
depends = fontconfig
- depends = xorg-font-utils
- source = http://www.webhostinghub.com/glyphs/resources/whhg-font.zip
+ source = https://www.webhostinghub.com/glyphs/resources/whhg-font.zip
md5sums = 09993f3df25fa9edfca8b856b23c1425
pkgname = ttf-webhostinghub-glyphs
diff --git a/PKGBUILD b/PKGBUILD
index c24ba7c4f1bc..1a44b0688886 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,17 @@
pkgname=ttf-webhostinghub-glyphs
pkgver=1.0
-pkgrel=3
+pkgrel=4
pkgdesc='WebHostingHub Glyphs icon font by webhostinghub.com'
arch=('any')
-url='http://www.webhostinghub.com/glyphs/'
+url='https://www.webhostinghub.com/glyphs/'
license=('OFL')
-depends=('fontconfig' 'xorg-font-utils')
+depends=('fontconfig')
makedepends=('fontforge')
-install=ttf-webhostinghub-glyphs.install
-source=('http://www.webhostinghub.com/glyphs/resources/whhg-font.zip')
+source=('https://www.webhostinghub.com/glyphs/resources/whhg-font.zip')
md5sums=('09993f3df25fa9edfca8b856b23c1425')
package() {
install -d $pkgdir/usr/share/fonts/TTF/
- install -m644 $srcdir/whhg-font/font/*.ttf $pkgdir/usr/share/fonts/TTF/
- ../rename.pe $pkgdir/usr/share/fonts/TTF/webhostinghub-glyphs.ttf
+ install -m644 $srcdir/whhg-font/font/webhostinghub-glyphs.ttf $pkgdir/usr/share/fonts/TTF/
}
diff --git a/ttf-webhostinghub-glyphs.install b/ttf-webhostinghub-glyphs.install
deleted file mode 100755
index bf300d193539..000000000000
--- a/ttf-webhostinghub-glyphs.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo "Updating font cache..."
- fc-cache -s > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "...done."
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}