initial commit
This commit is contained in:
23
PKGBUILD
Normal file
23
PKGBUILD
Normal 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/ .
|
||||
}
|
||||
Reference in New Issue
Block a user