From 0eb2c156fae595a58f9cdf096e84c09ba2141d08 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 21 Feb 2014 11:06:38 +0100 Subject: [PATCH] libunistring: remove long_desc; drop useless -docs subpkg. --- srcpkgs/libunistring-docs | 1 - srcpkgs/libunistring/template | 19 ++++++------------- 2 files changed, 6 insertions(+), 14 deletions(-) delete mode 120000 srcpkgs/libunistring-docs diff --git a/srcpkgs/libunistring-docs b/srcpkgs/libunistring-docs deleted file mode 120000 index af7731c0d89..00000000000 --- a/srcpkgs/libunistring-docs +++ /dev/null @@ -1 +0,0 @@ -libunistring \ No newline at end of file diff --git a/srcpkgs/libunistring/template b/srcpkgs/libunistring/template index 2f784ac340e..62ad524ce20 100644 --- a/srcpkgs/libunistring/template +++ b/srcpkgs/libunistring/template @@ -1,7 +1,7 @@ # Template build file for 'libunistring'. pkgname=libunistring version=0.9.3 -revision=1 +revision=2 build_style=gnu-configure short_desc="Library for manipulating Unicode strings and C strings" maintainer="davehome " @@ -9,22 +9,15 @@ license="GPL" homepage="http://www.gnu.org/software/${pkgname}" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3 -long_desc=" - Library that provides functions for manipulating Unicode strings and for - manipulating C strings according to the Unicode standard." libunistring-devel_package() { - short_desc+=" (Development files)" - depends="libunistring" + short_desc+=" - development files)" + depends="${sourcepkg}>=${version}_${revision}" + replaces="${pkgname}-docs>=0" pkg_install() { vmove usr/include - vmove usr/lib/libunistring.a - } -} - -libunistring-docs_package() { - short_desc+=" (Documentation)" - pkg_install() { + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" vmove usr/share } }