summaryrefslogtreecommitdiffstats
path: root/x11/font-adobe-utopia-75dpi
diff options
context:
space:
mode:
Diffstat (limited to 'x11/font-adobe-utopia-75dpi')
-rw-r--r--x11/font-adobe-utopia-75dpi/APKBUILD11
-rw-r--r--x11/font-adobe-utopia-75dpi/font-adobe-utopia-75dpi.post-install8
l---------x11/font-adobe-utopia-75dpi/font-adobe-utopia-75dpi.post-upgrade1
3 files changed, 4 insertions, 16 deletions
diff --git a/x11/font-adobe-utopia-75dpi/APKBUILD b/x11/font-adobe-utopia-75dpi/APKBUILD
index 444100f9b..9ef0813a7 100644
--- a/x11/font-adobe-utopia-75dpi/APKBUILD
+++ b/x11/font-adobe-utopia-75dpi/APKBUILD
@@ -1,15 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-adobe-utopia-75dpi
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="X.org adobe 75dpi 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="dd912284e4750023f9682812532fa033 font-adobe-utopia-75dpi-1.0.1.tar.bz2
-a24308692d7112b79a5a188c0b5c2e41 font-adobe-utopia-75dpi.post-install
-a24308692d7112b79a5a188c0b5c2e41 font-adobe-utopia-75dpi.post-upgrade"
+md5sums="dd912284e4750023f9682812532fa033 font-adobe-utopia-75dpi-1.0.1.tar.bz2"
diff --git a/x11/font-adobe-utopia-75dpi/font-adobe-utopia-75dpi.post-install b/x11/font-adobe-utopia-75dpi/font-adobe-utopia-75dpi.post-install
deleted file mode 100644
index 887dedc80..000000000
--- a/x11/font-adobe-utopia-75dpi/font-adobe-utopia-75dpi.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/75dpi
-mkfontdir /usr/share/fonts/75dpi
-echo "done."
-
diff --git a/x11/font-adobe-utopia-75dpi/font-adobe-utopia-75dpi.post-upgrade b/x11/font-adobe-utopia-75dpi/font-adobe-utopia-75dpi.post-upgrade
deleted file mode 120000
index 418bf2471..000000000
--- a/x11/font-adobe-utopia-75dpi/font-adobe-utopia-75dpi.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-font-adobe-utopia-75dpi.post-install \ No newline at end of file