From e45288e905a77da54932e2465b3d4a05570ab267 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Oct 2012 10:02:48 +0200 Subject: [PATCH] menu-cache: disable static, set -devel noarch. --- srcpkgs/menu-cache/menu-cache-devel.template | 8 +++----- srcpkgs/menu-cache/template | 8 ++++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/srcpkgs/menu-cache/menu-cache-devel.template b/srcpkgs/menu-cache/menu-cache-devel.template index c6680094886..2dfaf1e9a89 100644 --- a/srcpkgs/menu-cache/menu-cache-devel.template +++ b/srcpkgs/menu-cache/menu-cache-devel.template @@ -1,16 +1,14 @@ # Template file for 'menu-cache-devel'. # -depends="glib-devel menu-cache" +noarch=yes +depends="glib-devel ${sourcepkg}-${version}_${revision}" short_desc="${sourcepkg} development files" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." - -do_install() -{ +do_install() { mkdir -p ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib } diff --git a/srcpkgs/menu-cache/template b/srcpkgs/menu-cache/template index 542d46de333..7012c5c2c2f 100644 --- a/srcpkgs/menu-cache/template +++ b/srcpkgs/menu-cache/template @@ -1,12 +1,14 @@ # Template file for 'menu-cache' pkgname=menu-cache version=0.3.2 -revision=3 -distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" +revision=4 +subpackages="$pkgname-devel" build_style=gnu-configure +configure_args="--disable-static" makedepends="pkg-config glib-devel" short_desc="LXDE freedesktop menu specification" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.gz" checksum=6b7c1627b5102d8301a8a3e845f673a7181a71dde32f6455abf22d03e392b89f long_desc=" menu-cache is a library creating and utilizing caches to speed up the @@ -19,5 +21,3 @@ long_desc=" are done by menu-cache-gen when the menus are really changed.) * Less unnecessary and complicated file monitoring. * Heavily reduced disk I/O." - -subpackages="$pkgname-devel"