diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -4,7 +4,7 @@ pkgname=kb _module=kb-manager pkgver=0.1.7 -pkgrel=1 +pkgrel=2 pkgdesc="A command line minimalist knowledge base manager" arch=('any') url="https://github.com/gnebbia/kb" @@ -13,8 +13,15 @@ depends=('python-attrs' 'python-colored' 'python-gitpython' 'python-setuptools' checkdepends=('python-pytest-cov') conflicts=("python-kb") replaces=("python-kb") -source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") -sha256sums=('4c2919d6c3441ae69d9ce8ee86b79f64cc27ba928ef57cf8fa8a0ac5fc8683da') +source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz" + "python-colored.patch") +sha256sums=('4c2919d6c3441ae69d9ce8ee86b79f64cc27ba928ef57cf8fa8a0ac5fc8683da' + 'e7461e91f51e87f6dce0d4a8e08438b286e1e6325519d122dbaf4255ff9d5690') + +prepare() { + cd ${_module}-${pkgver} + patch -p1 < ../python-colored.patch +} build() { cd ${_module}-${pkgver} |