initial commit

This commit is contained in:
sudacode 2024-09-08 00:09:46 -07:00
commit 740e36e510
3 changed files with 40 additions and 0 deletions

14
.SRCINFO Normal file
View File

@ -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

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
pkg/*
src/*
wallabag-api-client*

23
PKGBUILD Normal file
View File

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