From 0e8d7c7ff56baa7e4503765311daed40e950d9c6 Mon Sep 17 00:00:00 2001 From: davehome Date: Thu, 23 Feb 2012 16:28:56 -0700 Subject: [PATCH] libnsbmp: set homepage/license. --- srcpkgs/libnsbmp/libnsbmp-devel.template | 2 +- srcpkgs/libnsbmp/template | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libnsbmp/libnsbmp-devel.template b/srcpkgs/libnsbmp/libnsbmp-devel.template index d769c31f000..534b1df1a37 100644 --- a/srcpkgs/libnsbmp/libnsbmp-devel.template +++ b/srcpkgs/libnsbmp/libnsbmp-devel.template @@ -1,6 +1,6 @@ # Template file for 'libnsbmp-devel'. # -revision=1 +revision=2 short_desc="${sourcepkg} development files" long_desc="${long_desc} diff --git a/srcpkgs/libnsbmp/template b/srcpkgs/libnsbmp/template index 284d35871e0..4f9da1e1243 100644 --- a/srcpkgs/libnsbmp/template +++ b/srcpkgs/libnsbmp/template @@ -1,11 +1,13 @@ # Template build file for 'libnsbmp'. pkgname=libnsbmp version=0.0.3 -revision=1 -distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz" +revision=2 +homepage="http://www.netsurf-browser.org" +distfiles="${homepage}/projects/releases/${pkgname}-${version}-src.tar.gz" short_desc="Decoding library for BMP and ICO images in C." maintainer="davehome " checksum=e0ccf851bf6dc9398b587f1b3f919773a49d7d2eb082b99ab5898217d73e47a2 +license="MIT" long_desc=" libnsbmp is a decoding library for BMP and ICO image file formats, written in C. It was developed as part of the NetSurf project and is available for @@ -31,4 +33,6 @@ do_install() { DESTDIR=${DESTDIR} PREFIX=/usr install make ${makejobs} COMPONENT_TYPE=lib-static \ DESTDIR=${DESTDIR} PREFIX=/usr install + + vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" }