makedeb


python3-krfzf-py-git 0.0.4.r1.e403493-2


A pythonic fzf wrapper.

Click here to go back to the commit logs for python3-krfzf-py-git.

Commit:


Hash: 2e5d20a0c33a6a8b0df06d67c9e4d8ffb5e682ec

Message: Initial mpr release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index f41a096..020618d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,18 @@
-pkgbase = python-anchor-kr-git
-	pkgdesc = This project is created in the favor of scraping projects of KR.
-	pkgver = 6.4cedb6a
-	pkgrel = 1
-	url = https://github.com/justfoolingaround/anchor
-	arch = any
-	license = custom
-	makedepends = git
-	depends = python
-	provides = python-anchor-kr
-	source = git+https://github.com/justfoolingaround/anchor
-	md5sums = SKIP
-
-pkgname = python-anchor-kr-git
+generated-by = makedeb
+pkgname = python3-krfzf-py-git
+pkgbase = python3-krfzf-py-git
+pkgdesc = A pythonic fzf Wrapper of KR.
+pkgrel = 1
+pkgver = 1.e403493
+url = https://github.com/justfoolingaround/fzf.py
+arch = all
+conflicts = python3-krfzf-py
+depends = python3
+license = GPL3
+makedepends = git
+makedepends = pip3
+provides = python3-krfzf-py
+source = git+https://github.com/justfoolingaround/fzf.py
+b2sums = SKIP
+makedepends = git
+makedepends = pip3
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c2e83ad
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+src/
+pkg/
+python3-krfzf-py*
+fzf.py/
diff --git a/PKGBUILD b/PKGBUILD
index 7dc6750..bab0e65 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,29 @@
-# Maintainer: A Farzat <a@farzat.xyz>
-pkgname=python-anchor-kr-git
-pkgver=6.4cedb6a
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+
+pkgname=python3-krfzf-py-git
+pkgver=1.e403493
 pkgrel=1
-pkgdesc="This project is created in the favor of scraping projects of KR."
-arch=('any')
-url="https://github.com/justfoolingaround/anchor"
-license=('custom')
-depends=('python')
-makedepends=('git')
-_gitname='anchor'
+pkgdesc="A pythonic fzf wrapper of KR."
+arch=('all')
+url="https://github.com/justfoolingaround/fzf.py"
+license=('GPL3')
+depends=('python3')
+makedepends=('git' 'pip3')
+_gitname='fzf.py'
 source=("git+https://github.com/justfoolingaround/$_gitname")
-md5sums=(SKIP)
-provides=(python-anchor-kr)
-
+b2sums=(SKIP)
+provides=('python3-krfzf-py')
+conflicts=('python3-krfzf-py')
 
 pkgver() {
   cd "${_gitname}"
   echo "$(git rev-list --count HEAD)"."$(git rev-parse --short HEAD)"
 }
 
-build() {
-  cd "${_gitname}"
-  python setup.py build
-}
-
 package() {
   cd "${_gitname}"
-  python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+  pip3 install -t "${pkgdir}/usr/lib/python3.9/dist-packages/" .
+
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
+  install -Dm644 "readme.md" "$pkgdir/usr/share/doc/$pkgname/readme"
 }