[arch-commits] Commit in subsurface/repos (6 files)
Gaetan Bisson
bisson at archlinux.org
Sun Nov 8 06:49:02 UTC 2015
Date: Sunday, November 8, 2015 @ 07:49:01
Author: bisson
Revision: 146391
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 146390, subsurface/trunk/PKGBUILD)
subsurface/repos/community-testing-i686/install
(from rev 146390, subsurface/trunk/install)
subsurface/repos/community-testing-x86_64/
subsurface/repos/community-testing-x86_64/PKGBUILD
(from rev 146390, subsurface/trunk/PKGBUILD)
subsurface/repos/community-testing-x86_64/install
(from rev 146390, subsurface/trunk/install)
-----------------------------------+
community-testing-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
community-testing-i686/install | 11 +++++++++
community-testing-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/install | 11 +++++++++
4 files changed, 104 insertions(+)
Copied: subsurface/repos/community-testing-i686/PKGBUILD (from rev 146390, subsurface/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-11-08 06:49:01 UTC (rev 146391)
@@ -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.2
+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=('6f06a34133465da14a9e37372ff200bec31746ca')
+
+install=install
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ sed 's:<marble:<subsurface/marble:g' -i qt-ui/globe.*
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so \
+ -DUSE_LIBGIT23_API=1 \
+ .
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: subsurface/repos/community-testing-i686/install (from rev 146390, subsurface/trunk/install)
===================================================================
--- community-testing-i686/install (rev 0)
+++ community-testing-i686/install 2015-11-08 06:49:01 UTC (rev 146391)
@@ -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-testing-x86_64/PKGBUILD (from rev 146390, subsurface/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-11-08 06:49:01 UTC (rev 146391)
@@ -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.2
+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=('6f06a34133465da14a9e37372ff200bec31746ca')
+
+install=install
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ sed 's:<marble:<subsurface/marble:g' -i qt-ui/globe.*
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so \
+ -DUSE_LIBGIT23_API=1 \
+ .
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: subsurface/repos/community-testing-x86_64/install (from rev 146390, subsurface/trunk/install)
===================================================================
--- community-testing-x86_64/install (rev 0)
+++ community-testing-x86_64/install 2015-11-08 06:49:01 UTC (rev 146391)
@@ -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