aboutsummaryrefslogtreecommitdiffstats
path: root/testing/irclog2html/APKBUILD
blob: 0cf1cdf70e8629b4533671df49ae4234facea41d (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
29
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=irclog2html
pkgver=2.15.3
pkgrel=1
pkgdesc="Script to convert IRC logs to HTML and other formats"
url="http://mg.pov.lt/irclog2html/"
arch="noarch"
license="GPL2+"
depends="python3"
makedepends="python3-dev"
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 || return 1
}

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

md5sums="1d1b3b49358426fe59f6eefb0d2a5b2d  irclog2html-2.15.3.tar.gz"
sha256sums="88038cbd808917465a7413f90af6e7bd4c11b55df7026e3d225c1bf69c95ddf3  irclog2html-2.15.3.tar.gz"
sha512sums="d8fac789610b387929d1a90e80cefd5df8ddaf0b238ba45822d806ed08aef7bf5ec71f0b2fa73948b4129bfe43f433f6a4b912bb40e33a4ffc50fefef2d1cc45  irclog2html-2.15.3.tar.gz"