diff options
author | Deposite Pirate | 2022-02-08 00:58:12 +0100 |
---|---|---|
committer | Deposite Pirate | 2022-02-08 00:58:12 +0100 |
commit | 23d9572654253014344f296a99f6dd68008197ac (patch) | |
tree | 0158db2159cac6d4a9b0af6c633ee328fdd74ff5 | |
parent | 966ba94a9f3e77c1599f42ff089ca1a3f8dbc7c6 (diff) |
Update package to latest standards
modified: ttf-fixedsys-excelsior-linux/.SRCINFO
modified: ttf-fixedsys-excelsior-linux/PKGBUILD
deleted: ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install
-rw-r--r-- | ttf-fixedsys-excelsior-linux/.SRCINFO | 7 | ||||
-rw-r--r-- | ttf-fixedsys-excelsior-linux/PKGBUILD | 17 | ||||
-rw-r--r-- | ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install | 13 |
3 files changed, 12 insertions, 25 deletions
diff --git a/ttf-fixedsys-excelsior-linux/.SRCINFO b/ttf-fixedsys-excelsior-linux/.SRCINFO index c129c74..9c3014b 100644 --- a/ttf-fixedsys-excelsior-linux/.SRCINFO +++ b/ttf-fixedsys-excelsior-linux/.SRCINFO @@ -1,16 +1,13 @@ pkgbase = ttf-fixedsys-excelsior-linux - pkgdesc = fixedsys font for linux, use only at 12pt + pkgdesc = Fixedsys font for linux, use only at 12pt pkgver = 3.02.9 - pkgrel = 2 + pkgrel = 3 url = https://github.com/kika/fixedsys - install = ttf-fixedsys-excelsior-linux.install arch = any license = custom - depends = fontconfig source = https://github.com/kika/fixedsys/releases/download/v3.02.9/FSEX302.ttf source = https://github.com/kika/fixedsys/releases/download/v3.02.9/FSEX302-alt.ttf sha256sums = b3f8e1da97b722a42477ee9a72f953eb2bc7c2195df5e2b6b7d4781dd3f8b2cc sha256sums = e4abb547b387d4676892f2db7c4a19d5cda0a91680ccc52331b2b49456e307da pkgname = ttf-fixedsys-excelsior-linux - diff --git a/ttf-fixedsys-excelsior-linux/PKGBUILD b/ttf-fixedsys-excelsior-linux/PKGBUILD index 3006662..cdeb613 100644 --- a/ttf-fixedsys-excelsior-linux/PKGBUILD +++ b/ttf-fixedsys-excelsior-linux/PKGBUILD @@ -4,19 +4,22 @@ pkgname=ttf-fixedsys-excelsior-linux pkgver=3.02.9 -pkgrel=2 -pkgdesc="fixedsys font for linux, use only at 12pt" +pkgrel=3 +pkgdesc='Fixedsys font for linux, use only at 12pt' arch=('any') -url="https://github.com/kika/fixedsys" -depends=('fontconfig') +url='https://github.com/kika/fixedsys' license=('custom') -install="ttf-fixedsys-excelsior-linux.install" source=("${url}/releases/download/v${pkgver}/FSEX302.ttf" "${url}/releases/download/v${pkgver}/FSEX302-alt.ttf") sha256sums=('b3f8e1da97b722a42477ee9a72f953eb2bc7c2195df5e2b6b7d4781dd3f8b2cc' 'e4abb547b387d4676892f2db7c4a19d5cda0a91680ccc52331b2b49456e307da') package() { - install -dm755 "${pkgdir}/usr/share/fonts/TTF" - install -m644 FSEX*.ttf "${pkgdir}/usr/share/fonts/TTF" +install -Dm644 -t "${pkgdir}/usr/share/fonts/TTF" FSEX*.ttf +install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" +cat << EOF > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +The creator(s) of this content have released it to the public domain. +For jurisdictions where this is not permitted, it is released under +the terms of the Creative Commons Zero Dedication. +EOF } diff --git a/ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install b/ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install deleted file mode 100644 index 18666d2..0000000 --- a/ttf-fixedsys-excelsior-linux/ttf-fixedsys-excelsior-linux.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - fc-cache -fs - mkfontscale usr/share/fonts/TTF - mkfontdir usr/share/fonts/TTF -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |