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/fontconfig | |
parent | 7354ce79e87795571465951850c6a98521bc1955 (diff) | |
download | aports-5bdbfdc723d003ed5a2fd6ad223f90990172a35b.tar.bz2 aports-5bdbfdc723d003ed5a2fd6ad223f90990172a35b.tar.xz |
x11/*font*: use triggers in apk-tools
Diffstat (limited to 'x11/fontconfig')
-rw-r--r-- | x11/fontconfig/APKBUILD | 3 | ||||
-rw-r--r-- | x11/fontconfig/fontconfig.trigger | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/x11/fontconfig/APKBUILD b/x11/fontconfig/APKBUILD index b315afea11..1147f0d107 100644 --- a/x11/fontconfig/APKBUILD +++ b/x11/fontconfig/APKBUILD @@ -2,13 +2,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=fontconfig pkgver="2.6.0" -pkgrel=1 +pkgrel=2 pkgdesc="The Fontconfig package is a library for configuring and customizing font access." url="http://fontconfig.org" license="GPL" depends= makedepends="pkgconfig freetype-dev expat-dev zlib-dev" install= +triggers="$pkgname.trigger:/usr/share/fonts/*" subpackages="$pkgname-doc $pkgname-dev" source="http://fontconfig.org/release/${pkgname}-${pkgver}.tar.gz" depends_dev="freetype-dev expat-dev" diff --git a/x11/fontconfig/fontconfig.trigger b/x11/fontconfig/fontconfig.trigger new file mode 100644 index 0000000000..35f3d37ebf --- /dev/null +++ b/x11/fontconfig/fontconfig.trigger @@ -0,0 +1,4 @@ +#!/bin/sh + +fc-cache -f > /dev/null + |