Date: Friday, November 13, 2015 @ 08:42:11 Author: fyan Revision: 250826
archrelease: copy trunk to testing-i686, testing-x86_64 Added: cmake/repos/testing-i686/ cmake/repos/testing-i686/PKGBUILD (from rev 250825, cmake/trunk/PKGBUILD) cmake/repos/testing-i686/cmake.install (from rev 250825, cmake/trunk/cmake.install) cmake/repos/testing-i686/rebuild.list (from rev 250825, cmake/trunk/rebuild.list) cmake/repos/testing-x86_64/ cmake/repos/testing-x86_64/PKGBUILD (from rev 250825, cmake/trunk/PKGBUILD) cmake/repos/testing-x86_64/cmake.install (from rev 250825, cmake/trunk/cmake.install) cmake/repos/testing-x86_64/rebuild.list (from rev 250825, cmake/trunk/rebuild.list) ------------------------------+ testing-i686/PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++ testing-i686/cmake.install | 12 ++++++++ testing-i686/rebuild.list | 5 +++ testing-x86_64/PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++ testing-x86_64/cmake.install | 12 ++++++++ testing-x86_64/rebuild.list | 5 +++ 6 files changed, 152 insertions(+) Copied: cmake/repos/testing-i686/PKGBUILD (from rev 250825, cmake/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-11-13 07:42:11 UTC (rev 250826) @@ -0,0 +1,59 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgname=cmake +pkgver=3.4.0 +pkgrel=1 +pkgdesc='A cross-platform open-source make system' +arch=('i686' 'x86_64') +url="http://www.cmake.org/" +license=('custom') +depends=('curl' 'libarchive' 'shared-mime-info' 'jsoncpp') +makedepends=('qt5-base' 'python-sphinx' 'emacs') +optdepends=('qt5-base: cmake-gui' + 'libxkbcommon-x11: cmake-gui') +install="${pkgname}.install" +source=("http://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz") +md5sums=('cd3034e0a44256a0917e254167217fc8') + +prepare() { + cd ${pkgname}-${pkgver} +} + +build() { + cd ${pkgname}-${pkgver} + + ./bootstrap --prefix=/usr \ + --mandir=/share/man \ + --docdir=/share/doc/cmake \ + --sphinx-man \ + --system-libs \ + --qt-gui \ + --parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN) + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + vimpath="${pkgdir}/usr/share/vim/vimfiles" + install -d "${vimpath}"/{help,indent,syntax} + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-help.vim \ + "${vimpath}"/help/ + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-indent.vim \ + "${vimpath}"/indent/ + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-syntax.vim \ + "${vimpath}"/syntax/ + + install -d "${pkgdir}"/usr/share/emacs/site-lisp/ + emacs -batch -f batch-byte-compile \ + "${pkgdir}"/usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.el + ln -s /usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.el \ + "${pkgdir}"/usr/share/emacs/site-lisp/ + + install -Dm644 Copyright.txt \ + "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} Copied: cmake/repos/testing-i686/cmake.install (from rev 250825, cmake/trunk/cmake.install) =================================================================== --- testing-i686/cmake.install (rev 0) +++ testing-i686/cmake.install 2015-11-13 07:42:11 UTC (rev 250826) @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime &> /dev/null + [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: cmake/repos/testing-i686/rebuild.list (from rev 250825, cmake/trunk/rebuild.list) =================================================================== --- testing-i686/rebuild.list (rev 0) +++ testing-i686/rebuild.list 2015-11-13 07:42:11 UTC (rev 250826) @@ -0,0 +1,5 @@ +quazip +glm +gluon +sfml +wt Copied: cmake/repos/testing-x86_64/PKGBUILD (from rev 250825, cmake/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-11-13 07:42:11 UTC (rev 250826) @@ -0,0 +1,59 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgname=cmake +pkgver=3.4.0 +pkgrel=1 +pkgdesc='A cross-platform open-source make system' +arch=('i686' 'x86_64') +url="http://www.cmake.org/" +license=('custom') +depends=('curl' 'libarchive' 'shared-mime-info' 'jsoncpp') +makedepends=('qt5-base' 'python-sphinx' 'emacs') +optdepends=('qt5-base: cmake-gui' + 'libxkbcommon-x11: cmake-gui') +install="${pkgname}.install" +source=("http://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz") +md5sums=('cd3034e0a44256a0917e254167217fc8') + +prepare() { + cd ${pkgname}-${pkgver} +} + +build() { + cd ${pkgname}-${pkgver} + + ./bootstrap --prefix=/usr \ + --mandir=/share/man \ + --docdir=/share/doc/cmake \ + --sphinx-man \ + --system-libs \ + --qt-gui \ + --parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN) + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + vimpath="${pkgdir}/usr/share/vim/vimfiles" + install -d "${vimpath}"/{help,indent,syntax} + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-help.vim \ + "${vimpath}"/help/ + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-indent.vim \ + "${vimpath}"/indent/ + ln -s /usr/share/cmake-${pkgver%.*}/editors/vim/cmake-syntax.vim \ + "${vimpath}"/syntax/ + + install -d "${pkgdir}"/usr/share/emacs/site-lisp/ + emacs -batch -f batch-byte-compile \ + "${pkgdir}"/usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.el + ln -s /usr/share/cmake-${pkgver%.*}/editors/emacs/cmake-mode.el \ + "${pkgdir}"/usr/share/emacs/site-lisp/ + + install -Dm644 Copyright.txt \ + "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} Copied: cmake/repos/testing-x86_64/cmake.install (from rev 250825, cmake/trunk/cmake.install) =================================================================== --- testing-x86_64/cmake.install (rev 0) +++ testing-x86_64/cmake.install 2015-11-13 07:42:11 UTC (rev 250826) @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime &> /dev/null + [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: cmake/repos/testing-x86_64/rebuild.list (from rev 250825, cmake/trunk/rebuild.list) =================================================================== --- testing-x86_64/rebuild.list (rev 0) +++ testing-x86_64/rebuild.list 2015-11-13 07:42:11 UTC (rev 250826) @@ -0,0 +1,5 @@ +quazip +glm +gluon +sfml +wt