From 971121fe5493b6e9e8d6cea1ac4ae3476e367b0a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 17 Jul 2021 14:20:55 +0200 Subject: otf-grundschrift: clean up install script and dependencies --- otf-grundschrift/PKGBUILD | 13 +++++-------- otf-grundschrift/otf.install | 15 --------------- 2 files changed, 5 insertions(+), 23 deletions(-) delete mode 100644 otf-grundschrift/otf.install (limited to 'otf-grundschrift') 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 -} -- cgit v1.2.3-70-g09d2