aboutsummaryrefslogtreecommitdiffstats
path: root/testing/irclog2html/APKBUILD
blob: f07818a55015828229bfffc0beb0e7f9380fbf72 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=irclog2html
pkgver=2.17.2
pkgrel=1
pkgdesc="Script to convert IRC logs to HTML and other formats"
url="https://mg.pov.lt/irclog2html/"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	install -Dpm 0644 src/$pkgname/irclog.css \
		"$pkgdir"/usr/share/$pkgname/irclog.css
}

sha512sums="f79b714f66f300a65cf5dca4c143f0fef6a63202f1495fbfd71b34378b18b3041599a2ce069dde27659562e88485e2175a45c385a72f7e601429ee80aa23c713  irclog2html-2.17.2.tar.gz"