Date: Thursday, June 16, 2016 @ 05:23:29 Author: anatolik Revision: 180312
archrelease: copy trunk to community-i686, community-x86_64 Added: crystal/repos/community-i686/PKGBUILD (from rev 180311, crystal/trunk/PKGBUILD) crystal/repos/community-x86_64/PKGBUILD (from rev 180311, crystal/trunk/PKGBUILD) Deleted: crystal/repos/community-i686/PKGBUILD crystal/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 154 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 74 --------------------- community-x86_64/PKGBUILD | 74 --------------------- 3 files changed, 154 insertions(+), 148 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-06-16 05:19:57 UTC (rev 180311) +++ community-i686/PKGBUILD 2016-06-16 05:23:29 UTC (rev 180312) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> -# Contributor: Jonne Haß <m...@jhass.eu> - -pkgname=crystal -pkgver=0.17.3 -pkgrel=1 -_binary_rel=1 -pkgdesc='The Crystal Programming Language' -arch=(i686 x86_64) -url='http://crystal-lang.org' -license=(Apache) -depends=(gc libatomic_ops pcre libevent libffi) -# depend on previous llvm version until https://github.com/crystal-lang/crystal/issues/1614 is resolved -makedepends=(libxml2 llvm35) -checkdepends=(libyaml libxml2 gmp git) -optdepends=('shards: crystal language package manager' - 'libyaml: For YAML support' - 'gmp: For BigInt support' - 'libxml2: For XML support') -source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz) -source_i686+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-i686.tar.gz) -source_x86_64+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-x86_64.tar.gz) -sha256sums=('091e85ba4c458310c530c7e77ed3738bfd409682fe6e0060a486d167d76d679f') -sha256sums_i686=('f03def26ff809c391196740ab1956bda61c9a101f97989634e33d57a6f5527a9') -sha256sums_x86_64=('61cd10567dc816198bd43ae3c8c5804555b2175f84416fe5c6f1a7663333e225') - -prepare() { - cd $pkgname-$pkgver - sed -i 's|Please install shards: https://github.com/ysbaddaden/shards|Please install shards: pacman -S shards|' src/compiler/crystal/command.cr -} - -build() { - cd $pkgname-$pkgver - - make release=1 \ - PATH="$srcdir/$pkgname-$pkgver-$_binary_rel/bin:$PATH" \ - CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \ - CRYSTAL_CONFIG_VERSION="$pkgver" \ - CRYSTAL_CONFIG_PATH="libs:/usr/lib/crystal" \ - CRYSTAL_CACHE_DIR="/tmp/crystal" - make doc -} - -check() { - cd $pkgname-$pkgver - - make spec CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \ - CRYSTAL_CONFIG_VERSION="$pkgver" \ - CRYSTAL_CACHE_DIR="/tmp/crystal" -} - -package() { - cd $pkgname-$pkgver - - # /usr/bin/crystal compiled executable - # /usr/lib/crystal/ compiler src & core libs - # /usr/share/doc/crystal/api api docs - # /usr/share/doc/crystal/samples/ samples - - install -Dm755 ".build/crystal" "$pkgdir/usr/bin/crystal" - - install -dm755 "$pkgdir/usr/lib" - cp -r src "$pkgdir/usr/lib/crystal" - - install -dm755 "$pkgdir/usr/share/doc/crystal" - cp -r doc "$pkgdir/usr/share/doc/crystal/api" - cp -r samples "$pkgdir/usr/share/doc/crystal/" - - install -Dm644 etc/completion.bash "$pkgdir/usr/share/bash-completion/completions/crystal" - install -Dm644 etc/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_crystal" - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: crystal/repos/community-i686/PKGBUILD (from rev 180311, crystal/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-06-16 05:23:29 UTC (rev 180312) @@ -0,0 +1,77 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> +# Contributor: Jonne Haß <m...@jhass.eu> + +pkgname=crystal +pkgver=0.18.0 +pkgrel=1 +_binary_rel=1 +pkgdesc='The Crystal Programming Language' +arch=(i686 x86_64) +url='http://crystal-lang.org' +license=(Apache) +depends=(gc libatomic_ops pcre libevent libffi) +# depend on previous llvm version until https://github.com/crystal-lang/crystal/issues/1614 is resolved +makedepends=(libxml2 llvm35) +checkdepends=(libyaml libxml2 gmp inetutils git) +optdepends=('shards: crystal language package manager' + 'libyaml: For YAML support' + 'gmp: For BigInt support' + 'libxml2: For XML support') +source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz) +source_i686+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-i686.tar.gz) +source_x86_64+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-x86_64.tar.gz) +sha256sums=('e0511268558f0400f72b970db049a453212ca94d9ba3250912bfffa3abcb69e4') +sha256sums_i686=('d2892b474c8f848b0c1ef57a359965dfca13c099328e3e61fbaf53b5946432d7') +sha256sums_x86_64=('36e4346f645a136e373b932bb1dd4b0457ba6ba55cce3b671e402603b0d28899') + +prepare() { + cd $pkgname-$pkgver + sed -i 's|Please install shards: https://github.com/ysbaddaden/shards|Please install shards: pacman -S shards|' src/compiler/crystal/command.cr +} + +build() { + cd $pkgname-$pkgver + + make release=1 \ + PATH="$srcdir/$pkgname-$pkgver-$_binary_rel/bin:$PATH" \ + CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \ + CRYSTAL_CONFIG_VERSION="$pkgver" \ + CRYSTAL_CONFIG_PATH="libs:/usr/lib/crystal" \ + CRYSTAL_CACHE_DIR="/tmp/crystal" + make doc CRYSTAL_CACHE_DIR="/tmp/crystal" +} + +check() { + cd $pkgname-$pkgver + + # splitting all_spec into 'compiler_spec std_spec' as a workaround for + # https://github.com/crystal-lang/crystal/issues/2789 + make compiler_spec std_spec \ + CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \ + CRYSTAL_CONFIG_VERSION="$pkgver" \ + CRYSTAL_CACHE_DIR="/tmp/crystal" +} + +package() { + cd $pkgname-$pkgver + + # /usr/bin/crystal compiled executable + # /usr/lib/crystal/ compiler src & core libs + # /usr/share/doc/crystal/api api docs + # /usr/share/doc/crystal/samples/ samples + + install -Dm755 ".build/crystal" "$pkgdir/usr/bin/crystal" + + install -dm755 "$pkgdir/usr/lib" + cp -r src "$pkgdir/usr/lib/crystal" + + install -dm755 "$pkgdir/usr/share/doc/crystal" + cp -r doc "$pkgdir/usr/share/doc/crystal/api" + cp -r samples "$pkgdir/usr/share/doc/crystal/" + + install -Dm644 etc/completion.bash "$pkgdir/usr/share/bash-completion/completions/crystal" + install -Dm644 etc/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_crystal" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-06-16 05:19:57 UTC (rev 180311) +++ community-x86_64/PKGBUILD 2016-06-16 05:23:29 UTC (rev 180312) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> -# Contributor: Jonne Haß <m...@jhass.eu> - -pkgname=crystal -pkgver=0.17.3 -pkgrel=1 -_binary_rel=1 -pkgdesc='The Crystal Programming Language' -arch=(i686 x86_64) -url='http://crystal-lang.org' -license=(Apache) -depends=(gc libatomic_ops pcre libevent libffi) -# depend on previous llvm version until https://github.com/crystal-lang/crystal/issues/1614 is resolved -makedepends=(libxml2 llvm35) -checkdepends=(libyaml libxml2 gmp git) -optdepends=('shards: crystal language package manager' - 'libyaml: For YAML support' - 'gmp: For BigInt support' - 'libxml2: For XML support') -source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz) -source_i686+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-i686.tar.gz) -source_x86_64+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-x86_64.tar.gz) -sha256sums=('091e85ba4c458310c530c7e77ed3738bfd409682fe6e0060a486d167d76d679f') -sha256sums_i686=('f03def26ff809c391196740ab1956bda61c9a101f97989634e33d57a6f5527a9') -sha256sums_x86_64=('61cd10567dc816198bd43ae3c8c5804555b2175f84416fe5c6f1a7663333e225') - -prepare() { - cd $pkgname-$pkgver - sed -i 's|Please install shards: https://github.com/ysbaddaden/shards|Please install shards: pacman -S shards|' src/compiler/crystal/command.cr -} - -build() { - cd $pkgname-$pkgver - - make release=1 \ - PATH="$srcdir/$pkgname-$pkgver-$_binary_rel/bin:$PATH" \ - CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \ - CRYSTAL_CONFIG_VERSION="$pkgver" \ - CRYSTAL_CONFIG_PATH="libs:/usr/lib/crystal" \ - CRYSTAL_CACHE_DIR="/tmp/crystal" - make doc -} - -check() { - cd $pkgname-$pkgver - - make spec CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \ - CRYSTAL_CONFIG_VERSION="$pkgver" \ - CRYSTAL_CACHE_DIR="/tmp/crystal" -} - -package() { - cd $pkgname-$pkgver - - # /usr/bin/crystal compiled executable - # /usr/lib/crystal/ compiler src & core libs - # /usr/share/doc/crystal/api api docs - # /usr/share/doc/crystal/samples/ samples - - install -Dm755 ".build/crystal" "$pkgdir/usr/bin/crystal" - - install -dm755 "$pkgdir/usr/lib" - cp -r src "$pkgdir/usr/lib/crystal" - - install -dm755 "$pkgdir/usr/share/doc/crystal" - cp -r doc "$pkgdir/usr/share/doc/crystal/api" - cp -r samples "$pkgdir/usr/share/doc/crystal/" - - install -Dm644 etc/completion.bash "$pkgdir/usr/share/bash-completion/completions/crystal" - install -Dm644 etc/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_crystal" - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: crystal/repos/community-x86_64/PKGBUILD (from rev 180311, crystal/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-06-16 05:23:29 UTC (rev 180312) @@ -0,0 +1,77 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> +# Contributor: Jonne Haß <m...@jhass.eu> + +pkgname=crystal +pkgver=0.18.0 +pkgrel=1 +_binary_rel=1 +pkgdesc='The Crystal Programming Language' +arch=(i686 x86_64) +url='http://crystal-lang.org' +license=(Apache) +depends=(gc libatomic_ops pcre libevent libffi) +# depend on previous llvm version until https://github.com/crystal-lang/crystal/issues/1614 is resolved +makedepends=(libxml2 llvm35) +checkdepends=(libyaml libxml2 gmp inetutils git) +optdepends=('shards: crystal language package manager' + 'libyaml: For YAML support' + 'gmp: For BigInt support' + 'libxml2: For XML support') +source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz) +source_i686+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-i686.tar.gz) +source_x86_64+=(https://github.com/crystal-lang/crystal/releases/download/$pkgver/$pkgname-$pkgver-$_binary_rel-linux-x86_64.tar.gz) +sha256sums=('e0511268558f0400f72b970db049a453212ca94d9ba3250912bfffa3abcb69e4') +sha256sums_i686=('d2892b474c8f848b0c1ef57a359965dfca13c099328e3e61fbaf53b5946432d7') +sha256sums_x86_64=('36e4346f645a136e373b932bb1dd4b0457ba6ba55cce3b671e402603b0d28899') + +prepare() { + cd $pkgname-$pkgver + sed -i 's|Please install shards: https://github.com/ysbaddaden/shards|Please install shards: pacman -S shards|' src/compiler/crystal/command.cr +} + +build() { + cd $pkgname-$pkgver + + make release=1 \ + PATH="$srcdir/$pkgname-$pkgver-$_binary_rel/bin:$PATH" \ + CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \ + CRYSTAL_CONFIG_VERSION="$pkgver" \ + CRYSTAL_CONFIG_PATH="libs:/usr/lib/crystal" \ + CRYSTAL_CACHE_DIR="/tmp/crystal" + make doc CRYSTAL_CACHE_DIR="/tmp/crystal" +} + +check() { + cd $pkgname-$pkgver + + # splitting all_spec into 'compiler_spec std_spec' as a workaround for + # https://github.com/crystal-lang/crystal/issues/2789 + make compiler_spec std_spec \ + CRYSTAL_PATH="$srcdir/$pkgname-$pkgver/src" \ + CRYSTAL_CONFIG_VERSION="$pkgver" \ + CRYSTAL_CACHE_DIR="/tmp/crystal" +} + +package() { + cd $pkgname-$pkgver + + # /usr/bin/crystal compiled executable + # /usr/lib/crystal/ compiler src & core libs + # /usr/share/doc/crystal/api api docs + # /usr/share/doc/crystal/samples/ samples + + install -Dm755 ".build/crystal" "$pkgdir/usr/bin/crystal" + + install -dm755 "$pkgdir/usr/lib" + cp -r src "$pkgdir/usr/lib/crystal" + + install -dm755 "$pkgdir/usr/share/doc/crystal" + cp -r doc "$pkgdir/usr/share/doc/crystal/api" + cp -r samples "$pkgdir/usr/share/doc/crystal/" + + install -Dm644 etc/completion.bash "$pkgdir/usr/share/bash-completion/completions/crystal" + install -Dm644 etc/completion.zsh "$pkgdir/usr/share/zsh/site-functions/_crystal" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}