[arch-commits] Commit in subsurface-marble/repos (6 files)
Gaetan Bisson
bisson at archlinux.org
Tue Mar 22 21:58:54 UTC 2016
Date: Tuesday, March 22, 2016 @ 22:58:53
Author: bisson
Revision: 167945
db-move: moved subsurface-marble from [community-staging] to [community-testing] (i686, x86_64)
Added:
subsurface-marble/repos/community-testing-i686/
subsurface-marble/repos/community-testing-i686/PKGBUILD
(from rev 167944, subsurface-marble/repos/community-staging-i686/PKGBUILD)
subsurface-marble/repos/community-testing-x86_64/
subsurface-marble/repos/community-testing-x86_64/PKGBUILD
(from rev 167944, subsurface-marble/repos/community-staging-x86_64/PKGBUILD)
Deleted:
subsurface-marble/repos/community-staging-i686/
subsurface-marble/repos/community-staging-x86_64/
-----------------------------------+
community-testing-i686/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
Copied: subsurface-marble/repos/community-testing-i686/PKGBUILD (from rev 167944, subsurface-marble/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-03-22 21:58:53 UTC (rev 167945)
@@ -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-testing-x86_64/PKGBUILD (from rev 167944, subsurface-marble/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-03-22 21:58:53 UTC (rev 167945)
@@ -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