Date: Saturday, March 12, 2016 @ 11:22:38 Author: arodseth Revision: 166213
archrelease: copy trunk to community-x86_64, community-i686 Added: nimble/repos/community-i686/PKGBUILD (from rev 166212, nimble/trunk/PKGBUILD) nimble/repos/community-x86_64/PKGBUILD (from rev 166212, nimble/trunk/PKGBUILD) Deleted: nimble/repos/community-i686/PKGBUILD nimble/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 88 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 37 ------------------ community-x86_64/PKGBUILD | 37 ------------------ 3 files changed, 88 insertions(+), 74 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-03-12 10:22:25 UTC (rev 166212) +++ community-i686/PKGBUILD 2016-03-12 10:22:38 UTC (rev 166213) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> - -pkgname=nimble -pkgver=0.7.2 -epoch=1 -pkgrel=1 -pkgdesc='Package manager for the Nim programming language' -arch=('x86_64' 'i686') -url='https://github.com/nim-lang/nimble' -license=('BSD') -makedepends=('nim' 'git') -depends=('glibc') -source=("git://github.com/nim-lang/nimble.git#tag=v$pkgver") -md5sums=('SKIP') - -prepare() { - cd "$pkgname" - - git clone -b v0.13.0 --depth 1 git://github.com/nim-lang/nim vendor/nim -} - -build() { - cd "$pkgname" - - nim c -d:release src/nimble -} - -package() { - cd "$pkgname" - - install -Dm755 "src/nimble" "$pkgdir/usr/bin/nimble" - install -Dm644 "license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt" -} - -# getver: github.com/nim-lang/nimble -# vim:set ts=2 sw=2 et: Copied: nimble/repos/community-i686/PKGBUILD (from rev 166212, nimble/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-03-12 10:22:38 UTC (rev 166213) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> + +pkgname=nimble +pkgver=0.7.2 +pkgrel=2 +epoch=1 +pkgdesc='Package manager for the Nim programming language' +arch=('x86_64' 'i686') +url='https://github.com/nim-lang/nimble' +license=('BSD') +makedepends=('nim' 'git') +depends=('glibc') +source=("git://github.com/nim-lang/nimble.git#tag=v$pkgver") +md5sums=('SKIP') + +prepare() { + cd "$pkgname" + + git clone -b v0.13.0 --depth 1 git://github.com/nim-lang/nim vendor/nim +} + +build() { + cd "$pkgname" + + nim c -d:release src/nimble +} + +package() { + cd "$pkgname" + + # Does not work. Also not separating compilation from installation. + # nim c -r src/nimble install + + install -Dm755 src/nimble "$pkgdir/usr/bin/nimble" + install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt" + + # Nimble looks for nimscriptapi.nim in /usr/bin/nimblepkg/, of all places. + cp -r src/nimblepkg "$pkgdir/usr/share/$pkgname" + ln -s "/usr/share/$pkgname" "$pkgdir/usr/bin/nimblepkg" +} + +# getver: github.com/nim-lang/nimble +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-03-12 10:22:25 UTC (rev 166212) +++ community-x86_64/PKGBUILD 2016-03-12 10:22:38 UTC (rev 166213) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> - -pkgname=nimble -pkgver=0.7.2 -epoch=1 -pkgrel=1 -pkgdesc='Package manager for the Nim programming language' -arch=('x86_64' 'i686') -url='https://github.com/nim-lang/nimble' -license=('BSD') -makedepends=('nim' 'git') -depends=('glibc') -source=("git://github.com/nim-lang/nimble.git#tag=v$pkgver") -md5sums=('SKIP') - -prepare() { - cd "$pkgname" - - git clone -b v0.13.0 --depth 1 git://github.com/nim-lang/nim vendor/nim -} - -build() { - cd "$pkgname" - - nim c -d:release src/nimble -} - -package() { - cd "$pkgname" - - install -Dm755 "src/nimble" "$pkgdir/usr/bin/nimble" - install -Dm644 "license.txt" "$pkgdir/usr/share/licenses/$pkgname/license.txt" -} - -# getver: github.com/nim-lang/nimble -# vim:set ts=2 sw=2 et: Copied: nimble/repos/community-x86_64/PKGBUILD (from rev 166212, nimble/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-03-12 10:22:38 UTC (rev 166213) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> + +pkgname=nimble +pkgver=0.7.2 +pkgrel=2 +epoch=1 +pkgdesc='Package manager for the Nim programming language' +arch=('x86_64' 'i686') +url='https://github.com/nim-lang/nimble' +license=('BSD') +makedepends=('nim' 'git') +depends=('glibc') +source=("git://github.com/nim-lang/nimble.git#tag=v$pkgver") +md5sums=('SKIP') + +prepare() { + cd "$pkgname" + + git clone -b v0.13.0 --depth 1 git://github.com/nim-lang/nim vendor/nim +} + +build() { + cd "$pkgname" + + nim c -d:release src/nimble +} + +package() { + cd "$pkgname" + + # Does not work. Also not separating compilation from installation. + # nim c -r src/nimble install + + install -Dm755 src/nimble "$pkgdir/usr/bin/nimble" + install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt" + + # Nimble looks for nimscriptapi.nim in /usr/bin/nimblepkg/, of all places. + cp -r src/nimblepkg "$pkgdir/usr/share/$pkgname" + ln -s "/usr/share/$pkgname" "$pkgdir/usr/bin/nimblepkg" +} + +# getver: github.com/nim-lang/nimble +# vim:set ts=2 sw=2 et: