diff --git a/srcpkgs/libgexiv2/libgexiv2-devel.template b/srcpkgs/libgexiv2/libgexiv2-devel.template index 89375460e6..ee13d16e70 100644 --- a/srcpkgs/libgexiv2/libgexiv2-devel.template +++ b/srcpkgs/libgexiv2/libgexiv2-devel.template @@ -1,16 +1,15 @@ # Template file for 'libgexiv2-devel'. # -depends="glib-devel exiv2-devel libgexiv2>=0.4.1" +depends="glib-devel exiv2-devel libgexiv2-${version}_${revision}" short_desc="${short_desc} - development files" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +noarch=yes -do_install() -{ +do_install() { vmove usr/include usr vmove usr/lib/pkgconfig usr/lib - vmove "usr/lib/*.a" usr/lib vmove usr/share/vala usr/share } diff --git a/srcpkgs/libgexiv2/template b/srcpkgs/libgexiv2/template index 722e246d1f..564d9ccb26 100644 --- a/srcpkgs/libgexiv2/template +++ b/srcpkgs/libgexiv2/template @@ -1,19 +1,20 @@ # Template file for 'libgexiv2' pkgname=libgexiv2 version=0.4.1 -homepage="http://www.exiv2.org" -distfiles="http://yorba.org/download/gexiv2/0.4/${pkgname}-${version}.tar.bz2" +revision=2 build_style=gnu-configure -configure_args="--disable-static" +subpackages="${pkgname}-devel" makedepends="libtool pkg-config glib-devel exiv2-devel" -revision=1 short_desc="GObject-based wrapper around the Exiv2 library" maintainer="Juan RP " license="GPL-2" +homepage="http://www.exiv2.org" +distfiles="http://yorba.org/download/gexiv2/0.4/${pkgname}-${version}.tar.bz2" checksum=c51e8bae7e53866b474b51e4eef19b98385fbeaf2edac2aefd7d24ed3f7d9d6e long_desc=" gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic features of Exiv2 available to GNOME applications." -subpackages="${pkgname}-devel" - +post_install() { + rm -f ${DESTDIR}/usr/lib/*.a +}