From aaf54c59c44390dee498f3c90a64de9406626e32 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 11 Oct 2012 10:29:11 +0200 Subject: [PATCH] libXrandr: disable static, set -devel noarch. --- srcpkgs/libXrandr/libXrandr-devel.template | 5 +++-- srcpkgs/libXrandr/template | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/libXrandr/libXrandr-devel.template b/srcpkgs/libXrandr/libXrandr-devel.template index 270160380c..9a0bd3e705 100644 --- a/srcpkgs/libXrandr/libXrandr-devel.template +++ b/srcpkgs/libXrandr/libXrandr-devel.template @@ -1,6 +1,8 @@ # Template file for 'libXrandr-devel'. # -depends="libXext-devel libXrender-devel randrproto>=1.4.0 libXrandr>=$version" +noarch=yes +depends="libXext-devel libXrender-devel randrproto>=1.4.0 + ${sourcepkg}-${version}_${revision}" short_desc="${short_desc} -- development files" long_desc="${long_desc} @@ -8,7 +10,6 @@ long_desc="${long_desc} do_install() { vmove usr/include usr - vmove "usr/lib/*.a" usr/lib vmove usr/lib/pkgconfig usr/lib vmove usr/share usr } diff --git a/srcpkgs/libXrandr/template b/srcpkgs/libXrandr/template index cae8af8c51..cc8287183d 100644 --- a/srcpkgs/libXrandr/template +++ b/srcpkgs/libXrandr/template @@ -1,13 +1,14 @@ # Template build file for 'libXrandr'. pkgname=libXrandr version=1.4.0 -revision=1 +revision=2 build_style=gnu-configure +configure_args="--disable-static" subpackages="$pkgname-devel" makedepends="pkg-config randrproto>=1.4.0 libXext-devel libXrender-devel" short_desc="X RandR Library from X.org" maintainer="Juan RP " -homepage="http://xorg.freedesktop.org/" +homepage="${XORG_SITE}" license="MIT" distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" checksum=033ad0ac2f012afb05268660f6d78705c85f84689f92fa7b47ce12959b15f5c3