summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
-rw-r--r--ttf-ingleby.install13
3 files changed, 15 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 343dde005108..f7ef3f759236 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,13 @@
pkgbase = ttf-ingleby
- pkgdesc = Ingleby font from dafont.com
+ pkgdesc = Ingleby font by David Engelby
pkgver = 1.0
- pkgrel = 1
- url = http://www.dafont.com/ingleby.font
- install = ttf-ingleby.install
+ pkgrel = 2
+ url = https://www.yufont.com/font/8360/Ingleby/
arch = any
license = custom
- depends = fontconfig
- depends = xorg-font-utils
- source = ttf-ingleby.zip::http://img.dafont.com/dl/?f=ingleby
+ source = ttf-ingleby.zip::https://www.yufont.com/font/download/8360/
source = LICENSE
- md5sums = efe53e9821d831bf7f41c94e582e9a86
+ md5sums = 7e15811f04de4e8b805741fd12d84fb0
md5sums = 5f283b3761250226c5f1316d85cf0265
pkgname = ttf-ingleby
-
diff --git a/PKGBUILD b/PKGBUILD
index c9fce6c4541e..1128450d838d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,17 @@
-# Maintainer: Anton Leontiev <bunder /at/ t-25.ru>
-
+# Maintainer: Anton Leontiev <scileont /at/ gmail.com>
pkgname=ttf-ingleby
pkgver=1.0
-pkgrel=1
-pkgdesc="Ingleby font from dafont.com"
+pkgrel=2
+pkgdesc='Ingleby font by David Engelby'
arch=('any')
-url="http://www.dafont.com/ingleby.font"
+url='https://www.yufont.com/font/8360/Ingleby/'
license=('custom')
-depends=('fontconfig' 'xorg-font-utils')
-install=$pkgname.install
-source=($pkgname.zip::http://img.dafont.com/dl/?f=ingleby 'LICENSE')
-md5sums=('efe53e9821d831bf7f41c94e582e9a86'
+source=($pkgname.zip::https://www.yufont.com/font/download/8360/ 'LICENSE')
+md5sums=('7e15811f04de4e8b805741fd12d84fb0'
'5f283b3761250226c5f1316d85cf0265')
-build() {
- cd $srcdir
- install -Dm644 Ingleby_regular.ttf $pkgdir/usr/share/fonts/TTF/Ingleby_regular.ttf
- install -Dm644 Ingleby_italic.ttf $pkgdir/usr/share/fonts/TTF/Ingleby_italic.ttf
- install -Dm644 Ingleby_bold.ttf $pkgdir/usr/share/fonts/TTF/Ingleby_bold.ttf
- install -Dm644 Ingleby_bold_italic.ttf $pkgdir/usr/share/fonts/TTF/Ingleby_bold_italic.ttf
- install -Dm644 LICENSE $pkgdir/usr/share/licenses/ttf-ingleby/LICENSE
+package() {
+ install -dm755 $pkgdir/usr/share/fonts/TTF
+ install -m644 Ingleby/Ingleby_{regular,italic,bold,bold_italic}.ttf $pkgdir/usr/share/fonts/TTF/
+ install -Dm644 LICENSE $pkgdir/usr/share/licenses/ttf-ingleby/LICENSE
}
diff --git a/ttf-ingleby.install b/ttf-ingleby.install
deleted file mode 100644
index 2cb9e68b86ff..000000000000
--- a/ttf-ingleby.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- fc-cache
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}