# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=irclog2html pkgver=2.17.2 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="f79b714f66f300a65cf5dca4c143f0fef6a63202f1495fbfd71b34378b18b3041599a2ce069dde27659562e88485e2175a45c385a72f7e601429ee80aa23c713 irclog2html-2.17.2.tar.gz"