summaryrefslogtreecommitdiff
path: root/community/subsurface
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-12 03:48:50 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-12 03:48:50 +0000
commite3fe31f4a2c44fef8da55c60c3f95a763fdfd3c7 (patch)
tree961eaf76b0f49d8409d5a84bf36de6581d5fed5a /community/subsurface
parent121ee20158ca9869daadf9a2993b431af9661cb6 (diff)
Wed Feb 12 03:44:41 UTC 2014
Diffstat (limited to 'community/subsurface')
-rw-r--r--community/subsurface/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/subsurface/PKGBUILD b/community/subsurface/PKGBUILD
new file mode 100644
index 000000000..f0d7087db
--- /dev/null
+++ b/community/subsurface/PKGBUILD
@@ -0,0 +1,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
+}