From 4ff824be48f42d6d8a1973c12b8e97d197ac0c04 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Mar 2009 17:41:31 +0100 Subject: [PATCH] font-misc-misc: new deps style, set noarch, binpkg works now. --HG-- extra : convert_revision : 3c1ad86e56a7b5539b225347ded6a6e81bb51988 --- templates/font-misc-misc/template | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/templates/font-misc-misc/template b/templates/font-misc-misc/template index 8437372eb4b..98c56175600 100644 --- a/templates/font-misc-misc/template +++ b/templates/font-misc-misc/template @@ -1,18 +1,22 @@ # Template build file for 'font-misc-misc'. pkgname=font-misc-misc version=1.0.0 -distfiles=" -http://xorg.freedesktop.org/releases/individual/font/$pkgname-$version.tar.bz2" +distfiles="${XORG_SITE}/font/$pkgname-$version.tar.bz2" build_style=gnu_configure -make_cmd="$XBPS_MASTERDIR/bin/gmake" short_desc="Standard X11 \"fixed\" PCF fonts" maintainer="Juan RP " -checksum=be44e00d94afdba48002e259f460d6a39ffbb370 +checksum=26a02560ad1f1648e7c36be6daf42910762131d3974422d1b306e6cae13f17db long_desc=" The standard X11 public domain \"fixed\" font that you can share and enjoy. It is in PCF format." -# Build fonts.dir and fonts.scale files after install. -fonts_dir="$XBPS_MASTERDIR/lib/X11/fonts/misc" -postinstall_helpers="mkfontxx-rebuild.sh" -ignore_files="fonts.scale fonts.dir" +Add_dependency full font-util + +noarch=yes +font_dirs="/usr/lib/X11/fonts/misc" +triggers="x11-fonts" + +post_install() +{ + rm -f ${DESTDIR}/${font_dirs}/fonts.* +}