summaryrefslogtreecommitdiffstats
path: root/x11/font-misc-misc
diff options
context:
space:
mode:
Diffstat (limited to 'x11/font-misc-misc')
-rw-r--r--x11/font-misc-misc/APKBUILD11
-rw-r--r--x11/font-misc-misc/font-misc-misc.post-install8
l---------x11/font-misc-misc/font-misc-misc.post-upgrade1
3 files changed, 4 insertions, 16 deletions
diff --git a/x11/font-misc-misc/APKBUILD b/x11/font-misc-misc/APKBUILD
index abbd6e8e..63038836 100644
--- a/x11/font-misc-misc/APKBUILD
+++ b/x11/font-misc-misc/APKBUILD
@@ -1,15 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-misc-misc
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="X.org misc font"
url="http://xorg.freedesktop.org/"
license="custom"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="pkgconfig font-util-dev bdftopcf"
-install="$pkgname.post-install $pkgname.post-upgrade"
-source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2
- $install"
+install=
+source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -20,6 +19,4 @@ build() {
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
-md5sums="2a57f6188c41d4bc1b88ca3d08ad011d font-misc-misc-1.0.0.tar.bz2
-ccf8ff4d45ebd2be8d6d05882d02cfeb font-misc-misc.post-install
-ccf8ff4d45ebd2be8d6d05882d02cfeb font-misc-misc.post-upgrade"
+md5sums="2a57f6188c41d4bc1b88ca3d08ad011d font-misc-misc-1.0.0.tar.bz2"
diff --git a/x11/font-misc-misc/font-misc-misc.post-install b/x11/font-misc-misc/font-misc-misc.post-install
deleted file mode 100644
index e9dc2acd..00000000
--- a/x11/font-misc-misc/font-misc-misc.post-install
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-echo -n "Updating font cache (TODO: implement triggers in apk)... "
-fc-cache -f > /dev/null
-mkfontscale /usr/share/fonts/misc
-mkfontdir /usr/share/fonts/misc
-echo "done."
-
diff --git a/x11/font-misc-misc/font-misc-misc.post-upgrade b/x11/font-misc-misc/font-misc-misc.post-upgrade
deleted file mode 120000
index e2e3545a..00000000
--- a/x11/font-misc-misc/font-misc-misc.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-font-misc-misc.post-install \ No newline at end of file