Date: Thursday, June 13, 2019 @ 14:03:56 Author: anatolik Revision: 481275
archrelease: copy trunk to community-x86_64 Added: shards/repos/community-x86_64/PKGBUILD (from rev 481274, shards/trunk/PKGBUILD) Deleted: shards/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 67 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-13 14:03:25 UTC (rev 481274) +++ PKGBUILD 2019-06-13 14:03:56 UTC (rev 481275) @@ -1,33 +0,0 @@ -# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> -# Contributor: Jonne Haß <m...@jhass.eu> - -pkgname=shards -pkgver=0.8.1 -pkgrel=1 -pkgdesc='The package manager for the Crystal language' -arch=(x86_64) -url='https://github.com/crystal-lang/shards' -license=(Apache) -depends=(libyaml git pcre libevent gc) -makedepends=(crystal) -source=(shards-$pkgver.tar.gz::https://github.com/crystal-lang/shards/archive/v$pkgver.tar.gz) -sha256sums=('75c74ab6acf2d5c59f61a7efd3bbc3c4b1d65217f910340cb818ebf5233207a5') - -build() { - cd shards-$pkgver - crystal build --release -o bin/shards src/shards.cr -} - -check() { - cd shards-$pkgver - ./bin/shards install - # currently tests fail because they try to write to read-only directory - #make test -} - -package() { - cd shards-$pkgver - - install -Dm755 bin/shards "$pkgdir/usr/bin/shards" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: shards/repos/community-x86_64/PKGBUILD (from rev 481274, shards/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-13 14:03:56 UTC (rev 481275) @@ -0,0 +1,34 @@ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> +# Contributor: Jonne Haß <m...@jhass.eu> + +pkgname=shards +pkgver=0.9.0 +pkgrel=1 +pkgdesc='The package manager for the Crystal language' +arch=(x86_64) +url='https://github.com/crystal-lang/shards' +license=(Apache) +depends=(libyaml git pcre libevent gc) +makedepends=(crystal) +source=(shards-$pkgver.tar.gz::https://github.com/crystal-lang/shards/archive/v$pkgver.tar.gz) +sha256sums=('90f230c87cc7b94ca845e6fe34f2523edcadb562d715daaf98603edfa2a94d65') + +build() { + cd shards-$pkgver + crystal build --release -o bin/shards src/shards.cr +} + +check() { + cd shards-$pkgver + ./bin/shards install + # currently tests fail because they try to write to read-only directory + #make test +} + +package() { + cd shards-$pkgver + + install -Dm755 bin/shards "$pkgdir/usr/bin/shards" + install -Dm755 man/shards.1 "$pkgdir/usr/share/man/man1/shards.1" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}