summaryrefslogtreecommitdiff
path: root/testing/irclog2html/APKBUILD
blob: 408b70950727ae23df0ee847baaf1024a82a993b (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.16.0
pkgrel=0
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
}

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="ed912c9702d57e6809d2a37637a2f044b586eda4f532ce0a721d91965782194f64626799be5abbd5b12dde9dea84de89ffa110b08d8a5f6ab02d88af5f83ee4e  irclog2html-2.16.0.tar.gz"