summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2023-03-15 16:16:45 +0200
committerAdrian Perez de Castro2023-03-15 16:16:45 +0200
commit95ec756b529d89da1ae47995b729278a55a2c65d (patch)
tree0b827f850029f91c0c88446c02b88195fca44df2
parenta73fb88995b1783ebe5aaeb220af9f7a2db3e655 (diff)
downloadaur-95ec756b529d89da1ae47995b729278a55a2c65d.tar.gz
Bump to version 0.86
Sources are now fetched from Git in preparation for running the test suite.
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD21
2 files changed, 19 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6f2abf9973e8..33c3f1fb12cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = gameoftrees
pkgdesc = A version control system which prioritizes ease of use and simplicity over flexibility
- pkgver = 0.85
+ pkgver = 0.86
pkgrel = 1
url = https://gameoftrees.org
arch = x86_64
license = custom:ISC
makedepends = pkgconf
+ makedepends = git
depends = ncurses
depends = util-linux-libs
depends = libbsd
@@ -14,7 +15,7 @@ pkgbase = gameoftrees
conflicts = got
conflicts = got-git
conflicts = got-bin
- source = https://gameoftrees.org/releases/portable/got-portable-0.85.tar.gz
- b2sums = e8912344933397fcd6c79df7a199f1208e51bd36b9df3311cc8d2f381db02114fa6bf01764b24b57b38dd0dfa2b8898a623de92a57f7751b0620507cce6861d8
+ source = gameoftrees::git+https://repo.or.cz/got-portable.git#tag=0.86
+ b2sums = SKIP
pkgname = gameoftrees
diff --git a/PKGBUILD b/PKGBUILD
index 8d1d068c7510..832643c7b646 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgname=gameoftrees
-pkgver=0.85
+pkgver=0.86
pkgrel=1
pkgdesc='A version control system which prioritizes ease of use and simplicity over flexibility'
arch=(x86_64)
@@ -9,16 +9,25 @@ url="https://gameoftrees.org"
license=(custom:ISC)
conflicts=(gameoftrees-git got got-git got-bin)
depends=(ncurses util-linux-libs libbsd libevent)
-makedepends=(pkgconf)
-source=("$url/releases/portable/got-portable-$pkgver.tar.gz")
-b2sums=('e8912344933397fcd6c79df7a199f1208e51bd36b9df3311cc8d2f381db02114fa6bf01764b24b57b38dd0dfa2b8898a623de92a57f7751b0620507cce6861d8')
+makedepends=(pkgconf git)
+source=("$pkgname::git+https://repo.or.cz/got-portable.git#tag=$pkgver")
+b2sums=(SKIP)
build () {
- cd "got-portable-$pkgver"
+ cd "$pkgname"
+ autoreconf -f -i -v
./configure --prefix=/usr --sbindir=/usr/bin --libexecdir=/usr/lib/$pkgname
make
}
+check () {
+ msg2 'TODO: Investigate why tests fail to run'
+ return 0
+
+ cd "$pkgname"
+ make tests
+}
+
package () {
- make -C "got-portable-$pkgver" DESTDIR="$pkgdir" install
+ make -C "$pkgname" DESTDIR="$pkgdir" install
}