Date: Tuesday, December 8, 2015 @ 16:09:03 Author: arojas Revision: 150338
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: subsurface/repos/community-staging-i686/ subsurface/repos/community-staging-i686/PKGBUILD (from rev 150337, subsurface/trunk/PKGBUILD) subsurface/repos/community-staging-i686/install (from rev 150337, subsurface/trunk/install) subsurface/repos/community-staging-x86_64/ subsurface/repos/community-staging-x86_64/PKGBUILD (from rev 150337, subsurface/trunk/PKGBUILD) subsurface/repos/community-staging-x86_64/install (from rev 150337, subsurface/trunk/install) -----------------------------------+ community-staging-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++ community-staging-i686/install | 11 +++++++++ community-staging-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/install | 11 +++++++++ 4 files changed, 104 insertions(+) Copied: subsurface/repos/community-staging-i686/PKGBUILD (from rev 150337, subsurface/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-08 15:09:03 UTC (rev 150338) @@ -0,0 +1,41 @@ +# $Id$ +# Contributor: Francois Boulogne <fboulogne at april dot org> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=subsurface +_pkgname=Subsurface +pkgver=4.5.2 +pkgrel=2 +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=('6f06a34133465da14a9e37372ff200bec31746ca') + +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-staging-i686/install (from rev 150337, subsurface/trunk/install) =================================================================== --- community-staging-i686/install (rev 0) +++ community-staging-i686/install 2015-12-08 15:09:03 UTC (rev 150338) @@ -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-staging-x86_64/PKGBUILD (from rev 150337, subsurface/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-08 15:09:03 UTC (rev 150338) @@ -0,0 +1,41 @@ +# $Id$ +# Contributor: Francois Boulogne <fboulogne at april dot org> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=subsurface +_pkgname=Subsurface +pkgver=4.5.2 +pkgrel=2 +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=('6f06a34133465da14a9e37372ff200bec31746ca') + +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-staging-x86_64/install (from rev 150337, subsurface/trunk/install) =================================================================== --- community-staging-x86_64/install (rev 0) +++ community-staging-x86_64/install 2015-12-08 15:09:03 UTC (rev 150338) @@ -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 +}