diff options
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 33 | ||||
-rw-r--r-- | fontconfig-ttf.hook | 11 |
4 files changed, 18 insertions, 57 deletions
@@ -1,24 +1,13 @@ -# Generated by mksrcinfo v8 -# Wed Apr 12 18:42:44 UTC 2017 pkgbase = ttf-code2000 pkgdesc = Unicode TT font with extensive glyph coverage - pkgver = 1.171 - pkgrel = 4 - url = https://web.archive.org/web/20101122141939/http://code2000.net/ + pkgver = 1.176 + pkgrel = 2 + url = https://www.code2001.com/ arch = any license = custom - depends = fontconfig - depends = xorg-fonts-encodings - 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 + source = CODE2000-1.176.ZIP::https://code2001.com/CODE2000.ZIP + md5sums = e96eb5860c23cd2d087a25a850f021ad + sha256sums = b53cf8a77d9aa192f86ca5879e46310b45446a0deb38d96cadb2d9e0f2fbaa75 + sha512sums = fb55daf9c7d2b5c0ab15e4e41f64c0cc00c63b1f67d41c8840a504e1c8f90541f019bd2c2756dffa4b66df99b696facddc59562b05e06f7c2f61e53cd07a675b pkgname = ttf-code2000 - diff --git a/.gitignore b/.gitignore index 39cbdedbcfa2..cee0a4706c44 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -CODE2000.ZIP -ttf-code2000-*.log +/CODE2000*.ZIP +/ttf-code2000-*.log +/ttf-code2000-*.pkg.tar.xz +/src/ @@ -1,37 +1,18 @@ # Contributor: Alex Suykov <axs@ukr.net> pkgname=ttf-code2000 -pkgver=1.171 -pkgrel=4 +pkgver=1.176 +pkgrel=2 pkgdesc="Unicode TT font with extensive glyph coverage" arch=('any') -url="https://web.archive.org/web/20101122141939/http://code2000.net/" +url="https://www.code2001.com/" license=('custom') -depends=( - 'fontconfig' - 'xorg-fonts-encodings' - '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=("CODE2000-$pkgver.ZIP::https://code2001.com/CODE2000.ZIP") +md5sums=('e96eb5860c23cd2d087a25a850f021ad') +sha256sums=('b53cf8a77d9aa192f86ca5879e46310b45446a0deb38d96cadb2d9e0f2fbaa75') +sha512sums=('fb55daf9c7d2b5c0ab15e4e41f64c0cc00c63b1f67d41c8840a504e1c8f90541f019bd2c2756dffa4b66df99b696facddc59562b05e06f7c2f61e53cd07a675b') 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 24d3596b8392..000000000000 --- 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' |