From ab871376ca52ee98f705869474842eec9d8219da Mon Sep 17 00:00:00 2001 From: polyzen Date: Wed, 10 Feb 2021 00:08:01 +0000 Subject: [PATCH] upgpkg: rofimoji 4.3.0-5: Entry point start-up time resolved https://github.com/pypa/setuptools/pull/2194 git-svn-id: file:///srv/repos/svn-community/svn@852053 9fca08f4-af9d-4005-b8df-a31f2cc04f65 --- trunk/PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 7c5228f4fd7b..de37148ae4c7 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -2,31 +2,32 @@ pkgname=rofimoji pkgver=4.3.0 -pkgrel=4 +pkgrel=5 pkgdesc='Character picker for rofi' arch=('any') url=https://github.com/fdw/rofimoji license=('MIT') depends=('emoji-font' 'python-configargparse' 'python-xdg' 'rofi') -makedepends=('python-pip' 'python-setuptools' 'python-wheel') +makedepends=('python-setuptools') optdepends=('wl-copy: for the Wayland clipboarder' 'wtype: for the Wayland typer' 'xclip: for one of the X.Org clipboarders' 'xsel: for one of the X.Org clipboarders' 'xdotool: for the X.Org typer') install=$pkgname.install -source=("$url/archive/$pkgver/rofimoji-$pkgver.tar.gz") +source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") b2sums=('b432dab44de5046dc26bd95d583102bec9373da6891a2d44131e6fc391c9bf980530d33f25fce66917496cb772c66ba840de87c61443cf12198b52cd32f6b694') build() { - cd rofimoji-$pkgver - python setup.py bdist_wheel + cd $pkgname-$pkgver + python setup.py build } package() { - cd rofimoji-$pkgver + cd $pkgname-$pkgver export PYTHONHASHSEED=0 - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE } # vim:set ts=2 sw=2 et: