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

Gaetan Bisson bisson at archlinux.org
Mon Apr 11 19:59:07 UTC 2016


    Date: Monday, April 11, 2016 @ 21:59:06
  Author: bisson
Revision: 170540

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 170539, subsurface/trunk/PKGBUILD)
  subsurface/repos/community-staging-i686/install
    (from rev 170539, subsurface/trunk/install)
  subsurface/repos/community-staging-x86_64/
  subsurface/repos/community-staging-x86_64/PKGBUILD
    (from rev 170539, subsurface/trunk/PKGBUILD)
  subsurface/repos/community-staging-x86_64/install
    (from rev 170539, subsurface/trunk/install)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   41 ++++++++++++++++++++++++++++++++++++
 community-staging-i686/install    |   11 +++++++++
 community-staging-x86_64/PKGBUILD |   41 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/install  |   11 +++++++++
 4 files changed, 104 insertions(+)

Copied: subsurface/repos/community-staging-i686/PKGBUILD (from rev 170539, subsurface/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-04-11 19:59:06 UTC (rev 170540)
@@ -0,0 +1,41 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.5.5
+pkgrel=1
+pkgdesc='Divelog program'
+url='http://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-qt5')
+source=("http://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
+sha1sums=('f108d9d6048a34a4f61e37fab855081ce7c1ec67')
+
+install=install
+
+prepare() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	sed 's:<marble:<subsurface/marble:g' -i qt-ui/globe.*
+	sed 's:GIT_MERGE_TREE_FIND_RENAMES:GIT_MERGE_FIND_RENAMES:g' -i git-access.c
+}
+
+build() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	cmake \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so \
+		.
+	make
+}
+
+package() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: subsurface/repos/community-staging-i686/install (from rev 170539, subsurface/trunk/install)
===================================================================
--- community-staging-i686/install	                        (rev 0)
+++ community-staging-i686/install	2016-04-11 19:59:06 UTC (rev 170540)
@@ -0,0 +1,11 @@
+post_upgrade() {
+	type gtk-update-icon-cache &>/dev/null && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+	post_upgrade
+}
+
+post_remove() {
+	post_upgrade
+}

Copied: subsurface/repos/community-staging-x86_64/PKGBUILD (from rev 170539, subsurface/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-04-11 19:59:06 UTC (rev 170540)
@@ -0,0 +1,41 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.5.5
+pkgrel=1
+pkgdesc='Divelog program'
+url='http://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-qt5')
+source=("http://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
+sha1sums=('f108d9d6048a34a4f61e37fab855081ce7c1ec67')
+
+install=install
+
+prepare() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	sed 's:<marble:<subsurface/marble:g' -i qt-ui/globe.*
+	sed 's:GIT_MERGE_TREE_FIND_RENAMES:GIT_MERGE_FIND_RENAMES:g' -i git-access.c
+}
+
+build() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	cmake \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so \
+		.
+	make
+}
+
+package() {
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: subsurface/repos/community-staging-x86_64/install (from rev 170539, subsurface/trunk/install)
===================================================================
--- community-staging-x86_64/install	                        (rev 0)
+++ community-staging-x86_64/install	2016-04-11 19:59:06 UTC (rev 170540)
@@ -0,0 +1,11 @@
+post_upgrade() {
+	type gtk-update-icon-cache &>/dev/null && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+	post_upgrade
+}
+
+post_remove() {
+	post_upgrade
+}



More information about the arch-commits mailing list