diff options
author | Erich Eckner <git@eckner.net> | 2021-07-17 14:20:55 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-07-17 14:20:55 +0200 |
commit | 971121fe5493b6e9e8d6cea1ac4ae3476e367b0a (patch) | |
tree | 7ec14de0cfa6c2062580fdb9f4bcc1b8501c4b52 /otf-grundschrift | |
parent | c25725dfefdaa3e8525e76e21b01f2c7aef6b75e (diff) | |
download | archlinuxewe-971121fe5493b6e9e8d6cea1ac4ae3476e367b0a.tar.xz |
otf-grundschrift: clean up install script and dependencies
Diffstat (limited to 'otf-grundschrift')
-rw-r--r-- | otf-grundschrift/PKGBUILD | 13 | ||||
-rw-r--r-- | otf-grundschrift/otf.install | 15 |
2 files changed, 5 insertions, 23 deletions
diff --git a/otf-grundschrift/PKGBUILD b/otf-grundschrift/PKGBUILD index 42d1db4ea..d2b931945 100644 --- a/otf-grundschrift/PKGBUILD +++ b/otf-grundschrift/PKGBUILD @@ -8,15 +8,12 @@ pkgdesc="Block letter oriented font used in german schools for teaching individu arch=('any') url="https://fontlibrary.org/en/font/grundschrift" license=('CCPL:by') -groups=() -depends=('fontconfig' 'xorg-bdftopcf' 'xorg-mkfontdir' 'xorg-mkfontscale' 'xorg-font-util') -install=otf.install -changelog= source=("https://fontlibrary.org/assets/downloads/grundschrift/993f56b0c71f38ffca0d804ec48f4587/grundschrift.zip") -md5sums=("993f56b0c71f38ffca0d804ec48f4587") +sha512sumsums=("993f56b0c71f38ffca0d804ec48f4587") package() { - cd "$srcdir/$_pkgname" - install -d $pkgdir/usr/share/fonts/OTF - install -Dm644 ./* $pkgdir/usr/share/fonts/OTF + cd "$srcdir/$_pkgname" + install -d $pkgdir/usr/share/fonts/OTF + install -Dm644 ./* $pkgdir/usr/share/fonts/OTF } +sha256sums=('c89932d23e61c4027dc1a2c0385372ca51f22e5a7bfea0d7bdb214ecc1531108') diff --git a/otf-grundschrift/otf.install b/otf-grundschrift/otf.install deleted file mode 100644 index f471542a3..000000000 --- a/otf-grundschrift/otf.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -fs >/dev/null - mkfontscale /usr/share/fonts/OTF - mkfontdir /usr/share/fonts/OTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} |