aboutsummaryrefslogtreecommitdiffstats
path: root/community/txt2tags/APKBUILD
blob: 343029bc529364264895814d75c166bebc59b7ca (plain) (blame)
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
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=txt2tags
pkgver=3.7
pkgrel=2
pkgdesc="Text formatting and conversion tool"
url="https://www.txt2tags.org"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-tox bash"
source="txt2tags-$pkgver.tar.gz::https://github.com/txt2tags/txt2tags/archive/3.7.tar.gz"

build() {
	python3 setup.py build
}

check() {
	tox --sitepackages -e py3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="70f6b72b9555b881149e29581a200bf5195d740ca134fffb9faab3a8a04909173f40fe7758659bde44efa9aa50e9816e7164d8164f84b2046de500a49906072b  txt2tags-3.7.tar.gz"