summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Lagnese2021-02-10 21:13:51 -0800
committerTim Lagnese2021-02-10 21:13:51 -0800
commit2b06e532e36665b3cabba86c919245fe1b2fdd65 (patch)
tree8b6c1ea86df8e1b21ebb3e94804cc1ac2b6f814e
downloadaur-2b06e532e36665b3cabba86c919245fe1b2fdd65.tar.gz
Initial PKGBUILD for Game of Trees
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD37
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3a7d84bd38e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = gameoftrees-git
+ pkgdesc = A version control system which prioritizes ease of use and simplicity over flexibility.
+ pkgver = r3550.fe5032d2
+ pkgrel = 1
+ url = http://gameoftrees.org/
+ arch = x86_64
+ license = ISC
+ makedepends = pkgconf
+ makedepends = git
+ depends = ncurses
+ depends = libmd
+ depends = openssl
+ depends = util-linux-libs
+ conflicts = got
+ conflicts = got-bin
+ conflicts = got-git
+ source = gameoftrees::git+https://git.gameoftrees.org/got-portable.git#branch=linux
+ sha256sums = SKIP
+
+pkgname = gameoftrees-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ca0640f0f13
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Tim Lagnese tim@inept.tech
+
+pkgname=gameoftrees-git
+pkgver=r3550.fe5032d2
+pkgrel=1
+pkgdesc="A version control system which prioritizes ease of use and simplicity over flexibility. "
+arch=('x86_64')
+url="http://gameoftrees.org/"
+license=('ISC')
+depends=('ncurses' 'libmd' 'openssl' 'util-linux-libs')
+makedepends=('pkgconf' 'git')
+conflicts=('got' 'got-bin' 'got-git')
+source=('gameoftrees::git+https://git.gameoftrees.org/got-portable.git#branch=linux')
+sha256sums=('SKIP')
+
+pkgver()
+{
+ cd "${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+
+ autoreconf -i
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
+