[arch-commits] Commit in subsurface-marble/repos (4 files)
Gaetan Bisson
bisson at archlinux.org
Tue Mar 22 17:29:48 UTC 2016
Date: Tuesday, March 22, 2016 @ 18:29:47
Author: bisson
Revision: 167923
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 167922, subsurface-marble/trunk/PKGBUILD)
subsurface-marble/repos/community-staging-x86_64/
subsurface-marble/repos/community-staging-x86_64/PKGBUILD
(from rev 167922, 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 167922, subsurface-marble/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-22 17:29:47 UTC (rev 167923)
@@ -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.4
+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=('a244fd261c087bd96d6d96d474fcf824f13323eb')
+
+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 167922, subsurface-marble/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-03-22 17:29:47 UTC (rev 167923)
@@ -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.4
+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=('a244fd261c087bd96d6d96d474fcf824f13323eb')
+
+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