summaryrefslogtreecommitdiff
path: root/community/subsurface/PKGBUILD
blob: 995ab7ecd318d123d90edc5d4d7ca78153aa1f77 (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
# $Id: PKGBUILD 115213 2014-07-06 16:44:01Z thestinger $
# Contributor: Francois Boulogne <fboulogne at april dot org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

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

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

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