summaryrefslogtreecommitdiff
path: root/extra/quazip/PKGBUILD
blob: 78e0282a2011b0de0be7ee30541637ce693ed975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}