diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-16 12:45:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-16 12:45:11 +0000 |
commit | 5bdbfdc723d003ed5a2fd6ad223f90990172a35b (patch) | |
tree | f431ec91b782f49bea390720db0478144fdaf7e7 /x11/font-daewoo-misc | |
parent | 7354ce79e87795571465951850c6a98521bc1955 (diff) | |
download | aports-5bdbfdc723d003ed5a2fd6ad223f90990172a35b.tar.bz2 aports-5bdbfdc723d003ed5a2fd6ad223f90990172a35b.tar.xz |
x11/*font*: use triggers in apk-tools
Diffstat (limited to 'x11/font-daewoo-misc')
-rw-r--r-- | x11/font-daewoo-misc/APKBUILD | 11 | ||||
-rw-r--r-- | x11/font-daewoo-misc/font-daewoo-misc.post-install | 8 | ||||
l--------- | x11/font-daewoo-misc/font-daewoo-misc.post-upgrade | 1 |
3 files changed, 4 insertions, 16 deletions
diff --git a/x11/font-daewoo-misc/APKBUILD b/x11/font-daewoo-misc/APKBUILD index deeeaaaf54..9f8719f4c6 100644 --- a/x11/font-daewoo-misc/APKBUILD +++ b/x11/font-daewoo-misc/APKBUILD @@ -1,15 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=font-daewoo-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="61f9eab48c619af5494d3e384d8d7d79 font-daewoo-misc-1.0.0.tar.bz2 -ccf8ff4d45ebd2be8d6d05882d02cfeb font-daewoo-misc.post-install -ccf8ff4d45ebd2be8d6d05882d02cfeb font-daewoo-misc.post-upgrade" +md5sums="61f9eab48c619af5494d3e384d8d7d79 font-daewoo-misc-1.0.0.tar.bz2" diff --git a/x11/font-daewoo-misc/font-daewoo-misc.post-install b/x11/font-daewoo-misc/font-daewoo-misc.post-install deleted file mode 100644 index e9dc2acdad..0000000000 --- a/x11/font-daewoo-misc/font-daewoo-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-daewoo-misc/font-daewoo-misc.post-upgrade b/x11/font-daewoo-misc/font-daewoo-misc.post-upgrade deleted file mode 120000 index cba2bf1f02..0000000000 --- a/x11/font-daewoo-misc/font-daewoo-misc.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -font-daewoo-misc.post-install
\ No newline at end of file |