[arch-commits] Commit in subsurface/repos (4 files)
Jan de Groot
jgc at archlinux.org
Sat Mar 4 22:02:09 UTC 2017
Date: Saturday, March 4, 2017 @ 22:02:08
Author: jgc
Revision: 214934
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
subsurface/repos/community-staging-i686/
subsurface/repos/community-staging-i686/PKGBUILD
(from rev 214933, subsurface/trunk/PKGBUILD)
subsurface/repos/community-staging-x86_64/
subsurface/repos/community-staging-x86_64/PKGBUILD
(from rev 214933, subsurface/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
Copied: subsurface/repos/community-staging-i686/PKGBUILD (from rev 214933, subsurface/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-04 22:02:08 UTC (rev 214934)
@@ -0,0 +1,44 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.6.3
+pkgrel=2
+pkgdesc='Divelog program'
+url='https://subsurface-divelog.org/'
+license=('GPL2')
+arch=('i686' 'x86_64')
+makedepends=('cmake' 'asciidoc')
+depends=('libzip' 'libxml2' 'libxslt' 'sqlite' 'libusb' 'libgit2'
+ 'subsurface-libdc' 'subsurface-marble'
+ 'qt5-connectivity' 'grantlee')
+source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
+sha256sums=('44c64397d5225522be0734b126c479566b4adfed6de1b1f95b978a02e4a3958d')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ sed 's:tree_flags:flags:g' -i core/git-access.c
+ sed 's:GIT_MERGE_TREE_FIND_RENAMES:GIT_MERGE_FIND_RENAMES:g' -i core/git-access.c
+ sed 's:<marble:<subsurface/marble:g' -i desktop-widgets/globe.*
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ install -d build
+ cd build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so \
+ -DMARBLE_INCLUDE_DIR=/usr/include/subsurface/marble \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: subsurface/repos/community-staging-x86_64/PKGBUILD (from rev 214933, subsurface/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-03-04 22:02:08 UTC (rev 214934)
@@ -0,0 +1,44 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.6.3
+pkgrel=2
+pkgdesc='Divelog program'
+url='https://subsurface-divelog.org/'
+license=('GPL2')
+arch=('i686' 'x86_64')
+makedepends=('cmake' 'asciidoc')
+depends=('libzip' 'libxml2' 'libxslt' 'sqlite' 'libusb' 'libgit2'
+ 'subsurface-libdc' 'subsurface-marble'
+ 'qt5-connectivity' 'grantlee')
+source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
+sha256sums=('44c64397d5225522be0734b126c479566b4adfed6de1b1f95b978a02e4a3958d')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ sed 's:tree_flags:flags:g' -i core/git-access.c
+ sed 's:GIT_MERGE_TREE_FIND_RENAMES:GIT_MERGE_FIND_RENAMES:g' -i core/git-access.c
+ sed 's:<marble:<subsurface/marble:g' -i desktop-widgets/globe.*
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ install -d build
+ cd build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so \
+ -DMARBLE_INCLUDE_DIR=/usr/include/subsurface/marble \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list