diff options
author | Anton Leontiev | 2021-09-10 07:16:09 +0300 |
---|---|---|
committer | Anton Leontiev | 2021-09-10 07:16:09 +0300 |
commit | d09ce78db467701e627f4c2f70c432f9c231018c (patch) | |
tree | 15766ffc4faebc978e013b72c9b89f7ac7ee96c2 | |
parent | 83b49d9187645122543470a329d4f2cc2e8c80fb (diff) | |
download | aur-d09ce78db467701e627f4c2f70c432f9c231018c.tar.gz |
ttf-ingleby: Update PKGBUILD and source
Font was removed from DaFont. YuFont.com is used, because it displays
original license text from author.
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 | ||||
-rw-r--r-- | ttf-ingleby.install | 13 |
3 files changed, 15 insertions, 38 deletions
@@ -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 - @@ -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 -} |