summaryrefslogtreecommitdiff
path: root/community/subsurface/PKGBUILD
blob: f0d7087db263e8a9a336b22567423be31f0152ce (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
# $Id: PKGBUILD 105595 2014-02-11 07:54:24Z bisson $
# Contributor: Francois Boulogne <fboulogne at april dot org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=subsurface
_pkgname=Subsurface
pkgver=4.0.2
pkgrel=1
pkgdesc='Divelog program'
url='http://subsurface.hohndel.org/'
license=('GPL2')
arch=('i686' 'x86_64')
depends=('qt4' 'kdeedu-marble' 'libzip' 'libxml2' 'libxslt' 'sqlite' 'libdivecomputer' 'libusbx')
source=("http://subsurface.hohndel.org/downloads/${_pkgname}-${pkgver}.tgz")
sha1sums=('14370c2e91f82a6df32d44e2a0a4b20908c74465')

build() {
	cd "${srcdir}/${_pkgname}-${pkgver}"
	qmake-qt4 -config release
	make
}

package() {
	cd "${srcdir}/${_pkgname}-${pkgver}"
	make INSTALL_ROOT="${pkgdir}" install
}