diff options
author | Carl Smedstad | 2022-01-10 02:37:13 +0100 |
---|---|---|
committer | Carl Smedstad | 2022-01-10 02:37:13 +0100 |
commit | 730f823fd1de432e19e4aec7b6d6307752132fa8 (patch) | |
tree | bbb6ea07bff9cae087cb75943336dda30c84f2a0 | |
parent | 5b4c7b282620ebc96629bdb46f4c5e18f0d92637 (diff) | |
download | aur-gotask-taskfile.tar.gz |
pkgver 2: Remove git dependency and add check stage
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 4 deletions
@@ -1,12 +1,11 @@ pkgbase = gotask-taskfile pkgdesc = A task runner / simpler Make alternative written in Go. Installs as gtask to allow coexistance with taskwarrior. pkgver = 3.10.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/go-task/task arch = any license = MIT makedepends = go - makedepends = git provides = gotask-taskfile conflicts = gotask-taskfile source = gotask-taskfile-3.10.0.tar.gz::https://github.com/go-task/task/archive/refs/tags/v3.10.0.tar.gz @@ -4,14 +4,14 @@ pkgname=gotask-taskfile _pkgname=task pkgver=3.10.0 -pkgrel=1 +pkgrel=2 pkgdesc="A task runner / simpler Make alternative written in Go. Installs as gtask to allow coexistance with taskwarrior." arch=('any') url="https://github.com/go-task/task" license=('MIT') provides=("$pkgname") conflicts=("$pkgname") -makedepends=('go' 'git') +makedepends=('go') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") @@ -31,6 +31,12 @@ build() { go build -v -o build ./... } +check() { + cd "$_pkgname-$pkgver" + + go test ./... +} + package() { cd "$_pkgname-$pkgver" |