[arch-commits] Commit in subsurface/repos (6 files)
Gaetan Bisson
bisson at archlinux.org
Fri Apr 29 01:17:27 UTC 2016
Date: Friday, April 29, 2016 @ 03:17:27
Author: bisson
Revision: 172490
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 172489, subsurface/trunk/PKGBUILD)
subsurface/repos/community-staging-i686/install
(from rev 172489, subsurface/trunk/install)
subsurface/repos/community-staging-x86_64/
subsurface/repos/community-staging-x86_64/PKGBUILD
(from rev 172489, subsurface/trunk/PKGBUILD)
subsurface/repos/community-staging-x86_64/install
(from rev 172489, 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 172489, subsurface/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-29 01:17:27 UTC (rev 172490)
@@ -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.6
+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=('db74614fe66da19f8a07a375551e1ef032291b4a')
+
+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 172489, subsurface/trunk/install)
===================================================================
--- community-staging-i686/install (rev 0)
+++ community-staging-i686/install 2016-04-29 01:17:27 UTC (rev 172490)
@@ -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 172489, subsurface/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-04-29 01:17:27 UTC (rev 172490)
@@ -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.6
+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=('db74614fe66da19f8a07a375551e1ef032291b4a')
+
+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 172489, subsurface/trunk/install)
===================================================================
--- community-staging-x86_64/install (rev 0)
+++ community-staging-x86_64/install 2016-04-29 01:17:27 UTC (rev 172490)
@@ -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