From a4de4ca3dd98f6d430ba34e14672e8921b2e6ebb Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Fri, 23 Jan 2015 18:23:11 +0100 Subject: [PATCH] New package: quazip-0.7.1 --- common/shlibs | 1 + srcpkgs/quazip-devel | 1 + srcpkgs/quazip/template | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 120000 srcpkgs/quazip-devel create mode 100644 srcpkgs/quazip/template diff --git a/common/shlibs b/common/shlibs index c60897b9fa..33a96ccdfb 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1895,3 +1895,4 @@ libasignify.so.1 asignify-1.0_1 libvte2_90.so.9 vte290-0.36.3_1 libd0_blind_id.so.0 xonotic-0.8.0_1 libechonest.so.2.3 libechonest-2.3.0_1 +libquazip.so.1 quazip-0.7.1_1 diff --git a/srcpkgs/quazip-devel b/srcpkgs/quazip-devel new file mode 120000 index 0000000000..25332fc361 --- /dev/null +++ b/srcpkgs/quazip-devel @@ -0,0 +1 @@ +quazip \ No newline at end of file diff --git a/srcpkgs/quazip/template b/srcpkgs/quazip/template new file mode 100644 index 0000000000..6c022089b2 --- /dev/null +++ b/srcpkgs/quazip/template @@ -0,0 +1,29 @@ +# Template file for 'quazip' +pkgname=quazip +version=0.7.1 +revision=1 +hostmakedepends="qt-qmake" +makedepends="qt-devel zlib-devel" +short_desc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package" +maintainer="Duncan Overbruck " +license="LGPL-2.0" +homepage="http://sourceforge.net/projects/quazip/" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=78c984103555c51e6f7ef52e3a2128e2beb9896871b2cc4d4dbd4d64bff132de + +do_configure() { + qmake PREFIX=/usr +} + +do_install() { + make INSTALL_ROOT=${DESTDIR} install +} + +quazip-devel_package() { + depends="quazip>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + } +}