summaryrefslogtreecommitdiff
path: root/otf-grundschrift
diff options
context:
space:
mode:
Diffstat (limited to 'otf-grundschrift')
-rw-r--r--otf-grundschrift/PKGBUILD13
-rw-r--r--otf-grundschrift/otf.install15
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
-}