makedeb
A pythonic fzf wrapper.
Click here to go back to the commit logs for python3-krfzf-py-git.
Hash: 9cffb5fa183767b7afe33b2e9deabc348eaa6a29
Message: minor fixes
diff --git a/.SRCINFO b/.SRCINFO
index 020618d..1d073e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
generated-by = makedeb
pkgname = python3-krfzf-py-git
pkgbase = python3-krfzf-py-git
-pkgdesc = A pythonic fzf Wrapper of KR.
-pkgrel = 1
+pkgdesc = A pythonic fzf wrapper of KR.
+pkgrel = 2
pkgver = 1.e403493
url = https://github.com/justfoolingaround/fzf.py
arch = all
diff --git a/PKGBUILD b/PKGBUILD
index bab0e65..9d19a1a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
-
pkgname=python3-krfzf-py-git
pkgver=1.e403493
-pkgrel=1
+pkgrel=2
pkgdesc="A pythonic fzf wrapper of KR."
arch=('all')
url="https://github.com/justfoolingaround/fzf.py"
@@ -22,7 +21,10 @@ pkgver() {
package() {
cd "${_gitname}"
- pip3 install -t "${pkgdir}/usr/lib/python3.9/dist-packages/" .
+ pip3 install --no-deps -t "${pkgdir}/usr/lib/python3/dist-packages/" .
+
+ # remove src reference
+ sed -i "s!file.*fzf.py!https://github.com/justfoolingaround/$_gitname!g" "$(grep -rl dir_info "${pkgdir}/usr/lib/python3/dist-packages/")"
install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
install -Dm644 "readme.md" "$pkgdir/usr/share/doc/$pkgname/readme"