blob: 870a6ada0af73df9e37d1101e81f8831760f0b2f (
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
26
27
|
# Maintainer: Agil Mammadov <mammadovagil@proton.me>
pkgname=dmenu-extended
_name=${pkgname//-/_}
pkgver=1.5.0
pkgrel=1
pkgdesc="An extension to dmenu for quickly opening files and folders."
arch=('any')
url="https://github.com/markhedleyjones/dmenu-extended"
license=('MIT')
depends=(python dmenu)
makedepends=(python-build python-installer python-wheel python-setuptools)
conflicts=(dmenu-extended-git)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
"LICENSE::https://raw.githubusercontent.com/markhedleyjones/dmenu-extended/$pkgver/LICENSE")
sha256sums=('27668ab06c9d81fd60e3bd952e929bcca8ab2b842bc6dd0acbabdefb7acc7ee2'
'40c707dbb656d7507154510dee54b3a0aeefdd0331aa1736c94d6aa4d4049b6b')
build() {
cd "${_name}-${pkgver}"
python3 -m build --wheel --no-isolation
}
package() {
cd "${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|