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

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="b6d1f02322b20ea0783d5c268d34bfd8dbb735235a783be73e3693a0b787fc2224a925a0f1d8b79f80ea7ae3fd9a674bf6184d4e4259eb8793a963233ddbf0e0  irclog2html-2.17.0.tar.gz"