-
-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathPKGBUILD.stable
More file actions
26 lines (23 loc) · 793 Bytes
/
PKGBUILD.stable
File metadata and controls
26 lines (23 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Giuseppe Nebbione <giuseppenebbione at gmail dot com>
pkgbase='kb'
pkgname=('kb')
_module='kb-manager'
pkgver='0.1.7'
pkgrel=1
pkgdesc="A command line minimalist knowledge base manager"
url="https://github.com/gnebbia/kb"
depends=('python' 'python-colored' 'python-gitpython' 'python-toml' 'python-attrs')
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
sha256sums=('c8e79e856066e271f3d7196d8e0d1db297e181a125b521f5943f60f3f3f01e0a')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
depends+=()
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}