[arch-commits] Commit in rofimoji/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Mon Jun 1 20:59:08 UTC 2020


    Date: Monday, June 1, 2020 @ 20:59:07
  Author: polyzen
Revision: 637912

upgpkg: rofimoji 4.2.0-1

Modified:
  rofimoji/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-01 20:51:30 UTC (rev 637911)
+++ PKGBUILD	2020-06-01 20:59:07 UTC (rev 637912)
@@ -1,7 +1,7 @@
 # Maintainer: Daniel M. Capella <polyzen at archlinux.org>
 
 pkgname=rofimoji
-pkgver=4.1.1
+pkgver=4.2.0
 pkgrel=1
 pkgdesc='Character picker for rofi'
 arch=('any')
@@ -9,13 +9,18 @@
 license=('MIT')
 depends=('emoji-font' 'python-configargparse' 'python-setuptools' 'python-xdg'
          'rofi' 'xdotool' 'xsel')
-makedepends=('python-pip')
-source=("$url/releases/download/$pkgver/rofimoji-$pkgver-py3-none-any.whl")
-noextract=("rofimoji-$pkgver-py3-none-any.whl")
-sha512sums=('6e43d3c2becf532d3662066e629b29e76918b99ad6903e395eb11853c4527c21b79fafad2707816e90a15bba6fb1022206704469c854aa630688e2f75136ba93')
+makedepends=('python-wheel')
+source=("$url/archive/$pkgver/rofimoji-$pkgver.tar.gz")
+sha512sums=('8ca611b1b3c7388671c89235b8fc859680350aba5ae2401764e64f3e631ec538e004ec2fdfce5d392d44450fc3b5a2f00d6c687be9c4429fb03630a3537e83ba')
 
+build() {
+  cd rofimoji-$pkgver
+  python setup.py build
+}
+
 package() {
-  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl
+  cd rofimoji-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list