diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 17 insertions, 15 deletions
@@ -1,21 +1,21 @@ pkgbase = shards-git pkgdesc = The package manager for the Crystal language (git version) - pkgver = v0.5.0.r0.ga501f92 + pkgver = v0.17.3.r2.geac9adf pkgrel = 1 - url = https://github.com/ysbaddaden/shards - arch = i686 + url = https://github.com/crystal-lang/shards arch = x86_64 + arch = aarch64 license = Apache + checkdepends = fossil makedepends = crystal depends = libyaml depends = git - depends = libpcl depends = libevent depends = gc + optdepends = fossil provides = shards conflicts = shards - source = git+https://github.com/ysbaddaden/shards.git + source = git+https://github.com/crystal-lang/shards.git sha256sums = SKIP pkgname = shards-git - @@ -1,16 +1,18 @@ # Maintainer: Jonne Haß <me@jhass.eu> pkgname=shards-git -pkgver=v0.5.0.r0.ga501f92 +pkgver=v0.17.3.r2.geac9adf pkgrel=1 pkgdesc="The package manager for the Crystal language (git version)" -arch=('i686' 'x86_64') -url="https://github.com/ysbaddaden/shards" +arch=('x86_64' 'aarch64') +url="https://github.com/crystal-lang/shards" license=('Apache') conflicts=('shards') provides=('shards') -depends=('libyaml' 'git' 'libpcl' 'libevent' 'gc') +depends=('libyaml' 'git' 'libevent' 'gc') +optdepends=('fossil') makedepends=('crystal') -source=("git+https://github.com/ysbaddaden/shards.git") +checkdepends=('fossil') +source=("git+https://github.com/crystal-lang/shards.git") pkgver() { cd "$srcdir/${pkgname/-git/}" @@ -23,19 +25,19 @@ pkgver() { build() { cd "${pkgname/-git/}" - crystal build --release -o bin/shards src/shards.cr + make CRYSTAL_OPTS="--release" } check() { cd "${pkgname/-git/}" ./bin/shards install - make -j1 test + make test } package() { cd "${pkgname/-git/}" - - install -Dm755 bin/shards "$pkgdir/usr/bin/shards" + + make install PREFIX="$pkgdir/usr" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } sha256sums=('SKIP') |