From 11917104268d378487569d8e67f762a28942c36b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 29 Jan 2014 11:37:48 +0100 Subject: [PATCH] imlib2: split utils to -utils subpkg; fixup imlib2-config script. --- srcpkgs/imlib2-tools | 1 + srcpkgs/imlib2/template | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/imlib2-tools diff --git a/srcpkgs/imlib2-tools b/srcpkgs/imlib2-tools new file mode 120000 index 00000000000..1c681089c93 --- /dev/null +++ b/srcpkgs/imlib2-tools @@ -0,0 +1 @@ +imlib2 \ No newline at end of file diff --git a/srcpkgs/imlib2/template b/srcpkgs/imlib2/template index ea47635e701..e2658a5926e 100644 --- a/srcpkgs/imlib2/template +++ b/srcpkgs/imlib2/template @@ -1,7 +1,7 @@ # Template build file for 'imlib2'. pkgname=imlib2 version=1.4.6 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding" hostmakedepends="libtool pkg-config" @@ -16,13 +16,21 @@ checksum=17cc128c0e61974d59c423b59d0fb5cb85c97169adf5b05184cc58f7c87b4f4e pre_configure() { libtoolize -f + sed -e 's,@my_libs@,@LIBS@,g' -i imlib2-config.in +} + +imlib2-tools_package() { + short_desc+=" - utilities" + pkg_install() { + vmove usr/bin + } } imlib2-devel_package() { depends="imlib2>=${version}_${revision}" short_desc+=" - development files" pkg_install() { - vmove usr/bin + vmove usr/bin/imlib2-config vmove usr/include vmove usr/share vmove usr/lib/pkgconfig