[arch-commits] Commit in subsurface/repos (8 files)
Gaetan Bisson
bisson at archlinux.org
Fri Dec 18 15:59:16 UTC 2015
Date: Friday, December 18, 2015 @ 16:59:15
Author: bisson
Revision: 153670
db-move: moved subsurface from [community-staging] to [community-testing] (i686, x86_64)
Added:
subsurface/repos/community-testing-i686/
subsurface/repos/community-testing-i686/PKGBUILD
(from rev 153669, subsurface/repos/community-staging-i686/PKGBUILD)
subsurface/repos/community-testing-i686/install
(from rev 153669, subsurface/repos/community-staging-i686/install)
subsurface/repos/community-testing-x86_64/
subsurface/repos/community-testing-x86_64/PKGBUILD
(from rev 153669, subsurface/repos/community-staging-x86_64/PKGBUILD)
subsurface/repos/community-testing-x86_64/install
(from rev 153669, subsurface/repos/community-staging-x86_64/install)
Deleted:
subsurface/repos/community-staging-i686/
subsurface/repos/community-staging-x86_64/
-----------------------------------+
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 153669, subsurface/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-12-18 15:59:15 UTC (rev 153670)
@@ -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.3
+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=('46981e8ecf4c51094851ee089f4725c3c0f47b62')
+
+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 153669, subsurface/repos/community-staging-i686/install)
===================================================================
--- community-testing-i686/install (rev 0)
+++ community-testing-i686/install 2015-12-18 15:59:15 UTC (rev 153670)
@@ -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 153669, subsurface/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-12-18 15:59:15 UTC (rev 153670)
@@ -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.3
+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=('46981e8ecf4c51094851ee089f4725c3c0f47b62')
+
+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 153669, subsurface/repos/community-staging-x86_64/install)
===================================================================
--- community-testing-x86_64/install (rev 0)
+++ community-testing-x86_64/install 2015-12-18 15:59:15 UTC (rev 153670)
@@ -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