summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c2eaaab762e6294142b9ad5c94959df539198ebd (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
28
# Maintainer: Adrián Pérez de Castro <aperez@igalia.com>
pkgname=em-keyboard
pkgdesc='Command-line utility for referencing emoji characters by name'
pkgver=4.1.0
pkgrel=1
url=https://github.com/hugovk/em-keyboard
license=(MIT)
arch=(any)
depends=(python-docopt python-xerox python-wheel)
makedepends=(git python-build python-hatchling python-hatch-vcs python-installer python-wheel)
checkdepends=(python-tox)
source=("${pkgname}::git+${url}#tag=v${pkgver}")
b2sums=(SKIP)

build () {
	cd "$pkgname"
	python -m build --wheel --no-isolation
}

check () {
	cd "$pkgname"
	tox
}

package () {
	cd "$pkgname"
	python -m installer --destdir="$pkgdir" dist/*.whl
}