summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar2018-10-20 18:09:25 -0700
committeryar2018-10-20 18:16:04 -0700
commitfa71f311d083ee891ba113633c833825d67dc8cb (patch)
treebf68aaf4458d7d8a1ac06f10b005a2e4c537a316
parent8cff67713277e4dfc184e147b3f2061b8eb9be2f (diff)
downloadaur-fa71f311d083ee891ba113633c833825d67dc8cb.tar.gz
fontconfig hook is obsolete
those commands are provided by hooks in dependencies (fontconfig, xorg-mkfontdir)
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD23
-rw-r--r--fontconfig-ttf.hook11
3 files changed, 7 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33bf9030a39..b15b8741fb0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Apr 12 18:42:44 UTC 2017
+# Sun Oct 21 01:15:58 UTC 2018
pkgbase = ttf-code2000
pkgdesc = Unicode TT font with extensive glyph coverage
pkgver = 1.171
- pkgrel = 4
+ pkgrel = 5
url = https://web.archive.org/web/20101122141939/http://code2000.net/
arch = any
license = custom
@@ -12,13 +12,9 @@ pkgbase = ttf-code2000
depends = xorg-mkfontscale
depends = xorg-mkfontdir
source = https://web.archive.org/web/20101122142710/http://code2000.net/CODE2000.ZIP
- source = fontconfig-ttf.hook
md5sums = 1fa4e4b61d7ac0980b038e9260667a77
- md5sums = 91867dbfdbc2df620f596e8bc5ba908f
sha256sums = af00db49179aaea66494a6b9cad3ae7f2b822bf650df3133c07f9c3209cbc8e2
- sha256sums = 59a0a896bee06740562e2a351a1066ad84dfa78668dbbda66c983695a87da6fc
sha512sums = 754e278752fd24d2dbf28042ebd9598a456246f864db9213248b735a98ad787e2a7ec473a5c55edbf5e504af7f01dac807430e8fabc401be4d6ef4089b138c00
- sha512sums = c80d6f3b31a255e3fd9ec7ee30f31d78c43f2266cce8a56f7dc17cf5b8bf55a2220adb0c0df95cb9a04c773f26889cc3057ddc56fca0622de03225fe9b3827be
pkgname = ttf-code2000
diff --git a/PKGBUILD b/PKGBUILD
index 9641b3c9e9b..76bb0a27b25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ttf-code2000
pkgver=1.171
-pkgrel=4
+pkgrel=5
pkgdesc="Unicode TT font with extensive glyph coverage"
arch=('any')
url="https://web.archive.org/web/20101122141939/http://code2000.net/"
@@ -13,25 +13,12 @@ depends=(
'xorg-mkfontscale'
'xorg-mkfontdir'
)
-source=(
- 'https://web.archive.org/web/20101122142710/http://code2000.net/CODE2000.ZIP'
- 'fontconfig-ttf.hook'
-)
-md5sums=(
- '1fa4e4b61d7ac0980b038e9260667a77'
- '91867dbfdbc2df620f596e8bc5ba908f'
-)
-sha256sums=(
- 'af00db49179aaea66494a6b9cad3ae7f2b822bf650df3133c07f9c3209cbc8e2'
- '59a0a896bee06740562e2a351a1066ad84dfa78668dbbda66c983695a87da6fc'
-)
-sha512sums=(
- '754e278752fd24d2dbf28042ebd9598a456246f864db9213248b735a98ad787e2a7ec473a5c55edbf5e504af7f01dac807430e8fabc401be4d6ef4089b138c00'
- 'c80d6f3b31a255e3fd9ec7ee30f31d78c43f2266cce8a56f7dc17cf5b8bf55a2220adb0c0df95cb9a04c773f26889cc3057ddc56fca0622de03225fe9b3827be'
-)
+source=('https://web.archive.org/web/20101122142710/http://code2000.net/CODE2000.ZIP')
+md5sums=('1fa4e4b61d7ac0980b038e9260667a77')
+sha256sums=('af00db49179aaea66494a6b9cad3ae7f2b822bf650df3133c07f9c3209cbc8e2')
+sha512sums=('754e278752fd24d2dbf28042ebd9598a456246f864db9213248b735a98ad787e2a7ec473a5c55edbf5e504af7f01dac807430e8fabc401be4d6ef4089b138c00')
package() {
install -D -m644 CODE2000.TTF "$pkgdir/usr/share/fonts/TTF/Code2000.ttf"
install -D -m644 CODE2000.HTM "$pkgdir/usr/share/licenses/ttf-code2000/Code2000.html"
- install -D -m644 "fontconfig-ttf.hook" "${pkgdir}/usr/share/libalpm/hooks/fontconfig-ttf.hook"
}
diff --git a/fontconfig-ttf.hook b/fontconfig-ttf.hook
deleted file mode 100644
index 24d3596b839..00000000000
--- a/fontconfig-ttf.hook
+++ /dev/null
@@ -1,11 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/fonts/TTF/*
-
-[Action]
-Description = Updating TTF fonts...
-When = PostTransaction
-Exec = /bin/sh -c '/usr/bin/fc-cache -fs; /usr/bin/mkfontscale usr/share/fonts/TTF; /usr/bin/mkfontdir usr/share/fonts/TTF'