commit 740e36e510e2a2b922d39b74e5bae8c794bbcc3b Author: sudacode Date: Sun Sep 8 00:09:46 2024 -0700 initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..ba3a70b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = wallabag-api-client + pkgdesc = A Python client for interacting with the Wallabag API (Git version) + pkgver = a1fd24c + pkgrel = 1 + url = https://gitea.suda.codes/sudacode/wallabag-api-client + arch = any + license = MIT + makedepends = git + makedepends = python-pip + depends = python + source = git+https://gitea.suda.codes/sudacode/wallabag-api-client.git + sha256sums = SKIP + +pkgname = wallabag-api-client diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ac1c499 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg/* +src/* +wallabag-api-client* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7992a38 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: sudacode - suda at sudacode dot com +pkgname=wallabag-api-client +pkgver=a1fd24c +pkgrel=1 +pkgdesc="A Python client for interacting with the Wallabag API (Git version)" +arch=('any') +url="https://gitea.suda.codes/sudacode/wallabag-api-client" +license=('MIT') +depends=('python') +makedepends=('git' 'python-pip') + +source=("git+https://gitea.suda.codes/sudacode/wallabag-api-client.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + git describe --tags --always | sed 's/^v//;s/-/./g' +} + +package() { + cd "$srcdir/$pkgname" + python -m pip install --root="$pkgdir" --no-deps --extra-index-url https://gitea.suda.codes/api/packages/sudacode/pypi/simple/ . +}