summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeposite Pirate2022-02-08 00:57:13 +0100
committerDeposite Pirate2022-02-08 00:57:13 +0100
commit83fb70a6964722588aa6aad97578a2daf832f200 (patch)
treee65c35b42c1965054f1fcc192ee8c2262cc09ffa
parentd328277223f61a095cac27f4ea4a315eaa38c62f (diff)
downloadaur-ttf-fixedsys-excelsior-linux.tar.gz
Update package to latest standards
modified: .SRCINFO modified: PKGBUILD deleted: ttf-fixedsys-excelsior-linux.install
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD17
-rw-r--r--ttf-fixedsys-excelsior-linux.install13
3 files changed, 12 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c129c74a8bab..9c3014b53c95 100644
--- a/.SRCINFO
+++ b/.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/PKGBUILD b/PKGBUILD
index 30066620f9d4..cdeb6139047c 100644
--- a/PKGBUILD
+++ b/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.install b/ttf-fixedsys-excelsior-linux.install
deleted file mode 100644
index 18666d2a3d6c..000000000000
--- a/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
-}