summaryrefslogtreecommitdiff
path: root/community/subsurface/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/subsurface/PKGBUILD')
-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
+}