diff options
author | 02742 | 2022-12-20 16:38:27 +0100 |
---|---|---|
committer | 02742 | 2022-12-20 16:38:27 +0100 |
commit | daa68d501ba1cd23207ecec7454cd423e010ebf5 (patch) | |
tree | b5c823817d0b871101d1febf21f6cb97cb1011d9 | |
download | aur-daa68d501ba1cd23207ecec7454cd423e010ebf5.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1adf0688809d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = bunzbar + pkgdesc = display useful information in status bar + pkgver = 0.45 + pkgrel = 1 + url = https://gitlab.com/02742/bunzbar + arch = any + license = GPLv3 + makedepends = coreutils + makedepends = python3 + makedepends = python-pip + depends = python3 + provides = bunzbar + +pkgname = bunzbar diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..95cb44eccb63 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +pkgname=bunzbar +pkgver=$(python3 -c "import json;from urllib.request import urlopen;print('0.'+str(len(json.load(urlopen('https://pypi.org/pypi/bunzbar/json'))['releases'])))" +) +pkgrel=1 +epoch= +pkgdesc="display useful information in status bar" +arch=('any') +url="https://gitlab.com/02742/bunzbar" +license=('GPLv3') +groups=() +depends=('python3') +makedepends=("coreutils" + "python3" + "python-pip") +checkdepends=() +optdepends=() +provides=('bunzbar') +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=() +noextract=() +md5sums=() +validpgpkeys=() + +prepare() { + pip install -U bunzbar +} + +package() { + install -D -m755 ~/.local/bin/bunzbar "$pkgdir/usr/local/bin/bunzbar" +} |