summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorotreblan2020-07-27 12:45:32 -0500
committerotreblan2020-07-27 12:45:32 -0500
commitcd676fdd586b4cfc5af30d517fd5f43474715bd9 (patch)
tree21b9cad622e8b9c699d81f70dfff86c578bdf5bb
parent057a4b6bb0ef0a137e5b82695d7ed9148b59806d (diff)
downloadaur-cd676fdd586b4cfc5af30d517fd5f43474715bd9.tar.gz
Update dependencies
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5e3a3930f24..df97310c019 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ai-dungeon-cli-git
pkgdesc = Play ai dungeon on your terminal
- pkgver = r69.632ffcf
+ pkgver = 0.4.0
pkgrel = 1
url = https://github.com/Eigenbahn/ai-dungeon-cli
arch = any
@@ -9,6 +9,7 @@ pkgbase = ai-dungeon-cli-git
makedepends = git
depends = python-requests
depends = python-yaml
+ depends = python-gql
provides = ai-dungeon-cli
conflicts = ai-dungeon-cli
source = ai-dungeon-cli-git::git+https://github.com/Eigenbahn/ai-dungeon-cli.git
diff --git a/PKGBUILD b/PKGBUILD
index 9401ca6df0f..8fa7f3de2a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Otreblan <otreblain@gmail.com>
pkgname=ai-dungeon-cli-git
-pkgver=r69.632ffcf
+pkgver=0.4.0
pkgrel=1
pkgdesc="Play ai dungeon on your terminal"
arch=('any')
url="https://github.com/Eigenbahn/ai-dungeon-cli"
license=('MIT')
groups=()
-depends=("python-requests" "python-yaml")
+depends=("python-requests" "python-yaml" "python-gql")
makedepends=("python-setuptools-git-ver" "git")
checkdepends=()
optdepends=()
@@ -26,13 +26,13 @@ sha256sums=("SKIP")
pkgver() {
cd "$srcdir/$pkgname"
( set -o pipefail
- git describe --long 2>/dev/null | sed 's/^v-//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
+ git describe --tags 2>/dev/null | sed 's/^v-//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
prepare() {
- cd "$pkgname"
+ cd "$srcdir/$pkgname"
# Using system installed python-setuptool-git-ver
sed -i \
@@ -42,13 +42,13 @@ prepare() {
}
build() {
- cd "$pkgname"
+ cd "$srcdir/$pkgname"
python setup.py build
}
package() {
- cd "$pkgname"
+ cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build