-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
65 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
pkgbase = kb-git | ||
pkgdesc = A command line minimalist knowledge base manager | ||
pkgver = 0 | ||
pkgrel = 1 | ||
url = https://github.com/gnebbia/kb.git | ||
arch = any | ||
license = GPL3 | ||
makedepends = git | ||
provides = kb-git | ||
conflicts = python-kb-git | ||
conflicts = python-kb | ||
conflicts = kb | ||
source = git+https://github.com/gnebbia/kb.git | ||
md5sums = SKIP | ||
|
||
pkgname = kb-git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
# Maintainer: Giuseppe Nebbione <giuseppenebbione at gmail dot com> | ||
# Maintainer: Giuseppe Nebbione <nebbionegiuseppe at gmail dot com> | ||
|
||
pkgbase='kb' | ||
pkgname=('kb') | ||
_module='kb-manager' | ||
pkgver='0.1.6' | ||
pkgname=kb-git | ||
_reponame="kb" | ||
pkgver=r180.40d361d | ||
pkgrel=1 | ||
pkgdesc="A command line minimalist knowledge base manager" | ||
url="https://github.com/gnebbia/kb" | ||
depends=('python') | ||
makedepends=('python-setuptools') | ||
arch=(any) | ||
url="https://github.com/gnebbia/kb.git" | ||
license=('GPL3') | ||
arch=('any') | ||
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") | ||
sha256sums=('78e14f6eef30a4742925cc75ba9a5509c032ae42e73e26582cd7ed91794f41df') | ||
depends=() | ||
makedepends=('git') | ||
provides=("kb-git") | ||
conflicts=("python-kb-git" "python-kb" "kb") | ||
source=("git+$url") | ||
md5sums=('SKIP') | ||
|
||
build() { | ||
cd "${srcdir}/${_module}-${pkgver}" | ||
python setup.py build | ||
pkgver() { | ||
cd "$srcdir/${_reponame}" | ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | ||
} | ||
|
||
package() { | ||
depends+=() | ||
cd "${srcdir}/${_module}-${pkgver}" | ||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build | ||
cd "$srcdir/${_reponame}" | ||
python setup.py install --root="${pkgdir}/" --optimize=1 | ||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Maintainer: Giuseppe Nebbione <giuseppenebbione at gmail dot com> | ||
|
||
pkgbase='kb' | ||
pkgname=('kb') | ||
_module='kb-manager' | ||
pkgver='0.1.6' | ||
pkgrel=1 | ||
pkgdesc="A command line minimalist knowledge base manager" | ||
url="https://github.com/gnebbia/kb" | ||
depends=('python') | ||
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 | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters