[arch-commits] Commit in subsurface-marble/repos (4 files)
Gaetan Bisson
bisson at archlinux.org
Mon Apr 11 18:54:21 UTC 2016
Date: Monday, April 11, 2016 @ 20:54:21
Author: bisson
Revision: 170538
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
subsurface-marble/repos/community-staging-i686/
subsurface-marble/repos/community-staging-i686/PKGBUILD
(from rev 170537, subsurface-marble/trunk/PKGBUILD)
subsurface-marble/repos/community-staging-x86_64/
subsurface-marble/repos/community-staging-x86_64/PKGBUILD
(from rev 170537, subsurface-marble/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
Copied: subsurface-marble/repos/community-staging-i686/PKGBUILD (from rev 170537, subsurface-marble/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-11 18:54:21 UTC (rev 170538)
@@ -0,0 +1,51 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=subsurface-marble
+_pkgname=marble-subsurface-branch
+pkgver=4.5.5
+pkgrel=1
+pkgdesc='Virtual Globe'
+url='http://git.subsurface-divelog.org/'
+license=('GPL' 'LGPL' 'FDL')
+arch=('i686' 'x86_64')
+makedepends=('cmake')
+depends=('qt5-'{script,svg,tools,webkit} 'marble-data')
+source=("http://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
+sha1sums=('6f166303218066ac19bf74afa5905fd8c61ad619')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DQT5BUILD=ON \
+ -DQTONLY=ON \
+ -DBUILD_MARBLE_APPS=OFF \
+ -DBUILD_MARBLE_EXAMPLES=OFF \
+ -DBUILD_MARBLE_TESTS=OFF \
+ -DBUILD_MARBLE_TOOLS=OFF \
+ -DBUILD_TESTING=OFF \
+ -DWITH_DESIGNER_PLUGIN=OFF \
+ -DBUILD_WITH_DBUS=OFF \
+ .
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ cd "${pkgdir}/usr"
+ mv include subsurface
+ install -d include
+ mv subsurface include
+ rm -fr share/{appdata,icons}
+
+ # Provided by marble-data, avoids conflicts.
+ rm share/marble/cmake/FindMarble.cmake
+ rm -fr share/marble/data
+
+ # Conflicts with libastro
+ rm lib/libastro.so{,.1,.0.17.20}
+}
Copied: subsurface-marble/repos/community-staging-x86_64/PKGBUILD (from rev 170537, subsurface-marble/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-04-11 18:54:21 UTC (rev 170538)
@@ -0,0 +1,51 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=subsurface-marble
+_pkgname=marble-subsurface-branch
+pkgver=4.5.5
+pkgrel=1
+pkgdesc='Virtual Globe'
+url='http://git.subsurface-divelog.org/'
+license=('GPL' 'LGPL' 'FDL')
+arch=('i686' 'x86_64')
+makedepends=('cmake')
+depends=('qt5-'{script,svg,tools,webkit} 'marble-data')
+source=("http://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz")
+sha1sums=('6f166303218066ac19bf74afa5905fd8c61ad619')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DQT5BUILD=ON \
+ -DQTONLY=ON \
+ -DBUILD_MARBLE_APPS=OFF \
+ -DBUILD_MARBLE_EXAMPLES=OFF \
+ -DBUILD_MARBLE_TESTS=OFF \
+ -DBUILD_MARBLE_TOOLS=OFF \
+ -DBUILD_TESTING=OFF \
+ -DWITH_DESIGNER_PLUGIN=OFF \
+ -DBUILD_WITH_DBUS=OFF \
+ .
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ cd "${pkgdir}/usr"
+ mv include subsurface
+ install -d include
+ mv subsurface include
+ rm -fr share/{appdata,icons}
+
+ # Provided by marble-data, avoids conflicts.
+ rm share/marble/cmake/FindMarble.cmake
+ rm -fr share/marble/data
+
+ # Conflicts with libastro
+ rm lib/libastro.so{,.1,.0.17.20}
+}
More information about the arch-commits
mailing list