aboutsummaryrefslogtreecommitdiffstats
path: root/x11/font-xfree86-type1
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-16 12:45:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-16 12:45:11 +0000
commit5bdbfdc723d003ed5a2fd6ad223f90990172a35b (patch)
treef431ec91b782f49bea390720db0478144fdaf7e7 /x11/font-xfree86-type1
parent7354ce79e87795571465951850c6a98521bc1955 (diff)
downloadaports-5bdbfdc723d003ed5a2fd6ad223f90990172a35b.tar.bz2
aports-5bdbfdc723d003ed5a2fd6ad223f90990172a35b.tar.xz
x11/*font*: use triggers in apk-tools
Diffstat (limited to 'x11/font-xfree86-type1')
-rw-r--r--x11/font-xfree86-type1/APKBUILD11
-rw-r--r--x11/font-xfree86-type1/font-xfree86-type1.post-install8
l---------x11/font-xfree86-type1/font-xfree86-type1.post-upgrade1
3 files changed, 4 insertions, 16 deletions
diff --git a/x11/font-xfree86-type1/APKBUILD b/x11/font-xfree86-type1/APKBUILD
index 0852e7cf7e..42b22285be 100644
--- a/x11/font-xfree86-type1/APKBUILD
+++ b/x11/font-xfree86-type1/APKBUILD
@@ -1,15 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-xfree86-type1
pkgver=1.0.1
-pkgrel=0
+pkgrel=2
pkgdesc="X.org xfree86 Type1 fonts"
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="d7e965776c7f0c30b0f09742176fb77a font-xfree86-type1-1.0.1.tar.bz2
-633c958b3dbebf92fb122eb5033e9557 font-xfree86-type1.post-install
-633c958b3dbebf92fb122eb5033e9557 font-xfree86-type1.post-upgrade"
+md5sums="d7e965776c7f0c30b0f09742176fb77a font-xfree86-type1-1.0.1.tar.bz2"
diff --git a/x11/font-xfree86-type1/font-xfree86-type1.post-install b/x11/font-xfree86-type1/font-xfree86-type1.post-install
deleted file mode 100644
index 0d21057135..0000000000
--- a/x11/font-xfree86-type1/font-xfree86-type1.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/Type1
-mkfontdir /usr/share/fonts/Type1
-echo "done."
-
diff --git a/x11/font-xfree86-type1/font-xfree86-type1.post-upgrade b/x11/font-xfree86-type1/font-xfree86-type1.post-upgrade
deleted file mode 120000
index 5362f29a28..0000000000
--- a/x11/font-xfree86-type1/font-xfree86-type1.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-font-xfree86-type1.post-install \ No newline at end of file