[arch-commits] Commit in subsurface/repos (4 files)

Gaëtan Bisson bisson at archlinux.org
Mon Mar 13 06:15:31 UTC 2017


    Date: Monday, March 13, 2017 @ 06:15:30
  Author: bisson
Revision: 216011

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  subsurface/repos/community-testing-i686/
  subsurface/repos/community-testing-i686/PKGBUILD
    (from rev 216010, subsurface/trunk/PKGBUILD)
  subsurface/repos/community-testing-x86_64/
  subsurface/repos/community-testing-x86_64/PKGBUILD
    (from rev 216010, subsurface/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: subsurface/repos/community-testing-i686/PKGBUILD (from rev 216010, subsurface/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-03-13 06:15:30 UTC (rev 216011)
@@ -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=3
+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-testing-x86_64/PKGBUILD (from rev 216010, subsurface/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-03-13 06:15:30 UTC (rev 216011)
@@ -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=3
+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