wallabag-api-client-PKGBUILD/PKGBUILD
2024-09-08 00:09:46 -07:00

24 lines
685 B
Bash

# 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/ .
}