Date: Thursday, April 27, 2017 @ 06:35:50
  Author: bisson
Revision: 225919

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 225918, subsurface/trunk/PKGBUILD)
  subsurface/repos/community-testing-x86_64/
  subsurface/repos/community-testing-x86_64/PKGBUILD
    (from rev 225918, subsurface/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: subsurface/repos/community-testing-i686/PKGBUILD (from rev 225918, 
subsurface/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2017-04-27 06:35:50 UTC (rev 225919)
@@ -0,0 +1,42 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <[email protected]>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.6.4
+pkgrel=1
+pkgdesc='Divelog program'
+url='https://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')
+source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz";)
+sha256sums=('b9620931a7683e69a04c58ad5f5291722f51800d428dd6c6f945fb258ce49376')
+
+prepare() {
+       cd "${srcdir}/${_pkgname}-${pkgver}"
+       sed 's:<marble:<subsurface/marble:g' -i desktop-widgets/globe.*
+}
+
+build() {
+       cd "${srcdir}/${_pkgname}-${pkgver}"
+       install -d build
+       cd build
+       cmake \
+               -DCMAKE_BUILD_TYPE=Release \
+               -DCMAKE_INSTALL_PREFIX=/usr \
+               -DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so \
+               -DMARBLE_INCLUDE_DIR=/usr/include/subsurface/marble \
+               ..
+       make
+}
+
+package() {
+       cd "${srcdir}/${_pkgname}-${pkgver}"
+       cd build
+       make DESTDIR="${pkgdir}" install
+}

Copied: subsurface/repos/community-testing-x86_64/PKGBUILD (from rev 225918, 
subsurface/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-04-27 06:35:50 UTC (rev 225919)
@@ -0,0 +1,42 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <[email protected]>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.6.4
+pkgrel=1
+pkgdesc='Divelog program'
+url='https://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')
+source=("https://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz";)
+sha256sums=('b9620931a7683e69a04c58ad5f5291722f51800d428dd6c6f945fb258ce49376')
+
+prepare() {
+       cd "${srcdir}/${_pkgname}-${pkgver}"
+       sed 's:<marble:<subsurface/marble:g' -i desktop-widgets/globe.*
+}
+
+build() {
+       cd "${srcdir}/${_pkgname}-${pkgver}"
+       install -d build
+       cd build
+       cmake \
+               -DCMAKE_BUILD_TYPE=Release \
+               -DCMAKE_INSTALL_PREFIX=/usr \
+               -DMARBLE_LIBRARIES=/usr/lib/libssrfmarblewidget.so \
+               -DMARBLE_INCLUDE_DIR=/usr/include/subsurface/marble \
+               ..
+       make
+}
+
+package() {
+       cd "${srcdir}/${_pkgname}-${pkgver}"
+       cd build
+       make DESTDIR="${pkgdir}" install
+}

Reply via email to