Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: rofimoji 4.3.0-5: Entry point start-up time resolved
Browse files Browse the repository at this point in the history
pypa/setuptools#2194

git-svn-id: file:///srv/repos/svn-community/svn@852053 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
polyzen authored and svntogit committed Feb 10, 2021
1 parent bc41ea4 commit ab87137
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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:

0 comments on commit ab87137

Please sign in to comment.