# Maintainer: Fabio Rämi pkgname=raiseorlaunch pkgver=2.2.0 pkgrel=0 pkgdesc="A run-or-raise-application-launcher for i3 window manager." arch=(any) url="https://github.com/open-dynaMIX/raiseorlaunch" license=('MIT') depends=('python' 'i3ipc-python-git') makedepends=('python-setuptools' 'python-pip' 'python-wheel') source=("https://github.com/open-dynaMIX/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('c80e6ea5b1b59ae9e4a25c7daa61fb92747fbc92a04fdf3e15b410fa6bed9ff8') build() { cd "${srcdir}/${pkgname}-${pkgver}" # Need to create the wheel first, otherwise the generated entry script will be too slow python setup.py bdist_wheel } package() { cd "${srcdir}/${pkgname}-${pkgver}" PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps --no-warn-script-location dist/${pkgname}-${pkgver}-py3-none-any.whl install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE }