blob: 6bbf51602abaffa27c4d86200f9972811220ccb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Fabio Ambauen <fabio[at]dynamix-tontechnik[dot]ch>
pkgname=raiseorlaunch
pkgver=2.3.5
pkgrel=1
pkgdesc="A run-or-raise-application-launcher for i3 window manager."
arch=(any)
url="https://github.com/open-dynaMIX/raiseorlaunch"
license=('MIT')
depends=('python' 'python-i3ipc')
makedepends=('python-setuptools' 'python-pip' 'python-wheel')
source=("https://github.com/open-dynaMIX/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('dcb7d2587ebcf5cfb32f0369ab8aa936c82e1ac3fc29e3f0faf9ecc07a512ed3')
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
}
|