Date: Tuesday, June 4, 2013 @ 07:21:45 Author: svenstaro Revision: 92338
archrelease: copy trunk to community-i686, community-x86_64 Added: ldc/repos/community-i686/PKGBUILD (from rev 92337, ldc/trunk/PKGBUILD) ldc/repos/community-x86_64/PKGBUILD (from rev 92337, ldc/trunk/PKGBUILD) Deleted: ldc/repos/community-i686/PKGBUILD ldc/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 92 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 64 ------------------------------ community-x86_64/PKGBUILD | 64 ------------------------------ 3 files changed, 92 insertions(+), 128 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-06-04 05:21:33 UTC (rev 92337) +++ community-i686/PKGBUILD 2013-06-04 05:21:45 UTC (rev 92338) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -pkgname=ldc -pkgver=20130219 -pkgrel=1 -pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" -arch=('i686' 'x86_64') -url="http://www.dsource.org/projects/ldc" -license=('BSD') -depends=('llvm' 'libconfig') -makedepends=('git' 'cmake') -backup=('etc/ldc2.conf') -source=() -md5sums=() - -_gitroot=git://github.com/ldc-developers/ldc.git -_gitname=ldc -_gitbranch=master - -[[ $CARCH == "x86_64" ]] && _multilib="ON" -[[ $CARCH == "i686" ]] && _multilib="OFF" - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone --branch "$_gitbranch" "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" - - mkdir build && cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \ - -DMULTILIB=$_multilib \ - .. - make -} - -package() { - cd "$srcdir/$_gitname-build" - - cd build - make DESTDIR=$pkgdir install - cd .. - - mkdir -p $pkgdir/usr/share/bash-completion/ - mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions - - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE - - # We don't actually want the multilib libs in this package - rm -rf $pkgdir/usr/lib32 -} Copied: ldc/repos/community-i686/PKGBUILD (from rev 92337, ldc/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-06-04 05:21:45 UTC (rev 92338) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +pkgname=ldc +pkgver=20130604 +pkgrel=1 +pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" +arch=('i686' 'x86_64') +url="http://www.dsource.org/projects/ldc" +license=('BSD') +depends=('llvm' 'libconfig') +makedepends=('git' 'cmake') +backup=('etc/ldc2.conf') +source=("git://github.com/ldc-developers/ldc.git") +sha1sums=('SKIP') + +[[ $CARCH == "x86_64" ]] && _multilib="ON" +[[ $CARCH == "i686" ]] && _multilib="OFF" + +build() { + cd "$srcdir"/ldc + git submodule update --init --recursive + + mkdir build && cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \ + -DMULTILIB=$_multilib \ + .. + make +} + +package() { + cd "$srcdir"/ldc + + cd build + make DESTDIR=$pkgdir install + cd .. + + mkdir -p $pkgdir/usr/share/bash-completion/ + mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + + # We don't actually want the multilib libs in this package + rm -rf $pkgdir/usr/lib32 +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-06-04 05:21:33 UTC (rev 92337) +++ community-x86_64/PKGBUILD 2013-06-04 05:21:45 UTC (rev 92338) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -pkgname=ldc -pkgver=20130219 -pkgrel=1 -pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" -arch=('i686' 'x86_64') -url="http://www.dsource.org/projects/ldc" -license=('BSD') -depends=('llvm' 'libconfig') -makedepends=('git' 'cmake') -backup=('etc/ldc2.conf') -source=() -md5sums=() - -_gitroot=git://github.com/ldc-developers/ldc.git -_gitname=ldc -_gitbranch=master - -[[ $CARCH == "x86_64" ]] && _multilib="ON" -[[ $CARCH == "i686" ]] && _multilib="OFF" - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone --branch "$_gitbranch" "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" - - mkdir build && cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \ - -DMULTILIB=$_multilib \ - .. - make -} - -package() { - cd "$srcdir/$_gitname-build" - - cd build - make DESTDIR=$pkgdir install - cd .. - - mkdir -p $pkgdir/usr/share/bash-completion/ - mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions - - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE - - # We don't actually want the multilib libs in this package - rm -rf $pkgdir/usr/lib32 -} Copied: ldc/repos/community-x86_64/PKGBUILD (from rev 92337, ldc/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-06-04 05:21:45 UTC (rev 92338) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +pkgname=ldc +pkgver=20130604 +pkgrel=1 +pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" +arch=('i686' 'x86_64') +url="http://www.dsource.org/projects/ldc" +license=('BSD') +depends=('llvm' 'libconfig') +makedepends=('git' 'cmake') +backup=('etc/ldc2.conf') +source=("git://github.com/ldc-developers/ldc.git") +sha1sums=('SKIP') + +[[ $CARCH == "x86_64" ]] && _multilib="ON" +[[ $CARCH == "i686" ]] && _multilib="OFF" + +build() { + cd "$srcdir"/ldc + git submodule update --init --recursive + + mkdir build && cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \ + -DMULTILIB=$_multilib \ + .. + make +} + +package() { + cd "$srcdir"/ldc + + cd build + make DESTDIR=$pkgdir install + cd .. + + mkdir -p $pkgdir/usr/share/bash-completion/ + mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + + # We don't actually want the multilib libs in this package + rm -rf $pkgdir/usr/lib32 +}