summaryrefslogtreecommitdiff
path: root/extra/quazip
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /extra/quazip
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'extra/quazip')
-rw-r--r--extra/quazip/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/quazip/PKGBUILD b/extra/quazip/PKGBUILD
new file mode 100644
index 000000000..78e0282a2
--- /dev/null
+++ b/extra/quazip/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 199053 2013-11-07 23:52:10Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: trya <tryagainprod@gmail.com>
+
+pkgname=quazip
+pkgver=0.5.1
+pkgrel=3
+pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
+url="http://sourceforge.net/projects/quazip/"
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('qt4')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('eec6b9b6f19654230dfcd158f29ea9d0')
+
+build() {
+ cd ${pkgname}-${pkgver}/${pkgname}
+ qmake-qt4 PREFIX=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/${pkgname}
+ make INSTALL_ROOT="${pkgdir}" install
+
+ install -d "${pkgdir}"/usr/share/apps/cmake-2.8/Modules
+ install -m644 ../FindQuaZip.cmake\
+ "${pkgdir}"/usr/share/apps/cmake-2.8/Modules
+}