blob: c1816c1e38d3abb9cfea1b8e7883da9da1665ceb (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=irclog2html
pkgver=2.13.1
pkgrel=0
pkgdesc="Script to convert IRC logs to HTML and other formats"
url="http://mg.pov.lt/irclog2html/"
arch="noarch"
license="GPL2+"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python 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="46320c8d7c825f31079c9a1dff0a84b8 irclog2html-2.13.1.tar.gz"
sha256sums="9714287c284d7b960a5c7082d11cd9d60dcfd9b80ce9029f7a5e015a9d0b7757 irclog2html-2.13.1.tar.gz"
sha512sums="bb48e5ffb47fd3ef3a7dcc1b966b7045b79396c474611cc38ad25baf4df45725bf0d2584d79b6149f02a67671b1369b92d4cbdb21791fda4dbf14412fb4e2e6e irclog2html-2.13.1.tar.gz"
|