aboutsummaryrefslogtreecommitdiffstats
path: root/testing/willie/APKBUILD
blob: a6533d6dd3d5761b051d78f63959e8b347a1dda1 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=willie
pkgver=4.0.1
pkgrel=0
pkgdesc="A lightweight and easy-to-use IRC Utility bot"
url="http://willie.dftba.net/"
arch="noarch"
license="EFL 2.0"
depends="python py-tz py-lxml py-feedparser py-enchant py-geoip py-praw
		py-openssl py-mysqldb"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://willie.dftba.net/files/$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
}

md5sums="cca8bb85b8b41ba6e3d3dd84f7353f6b  willie-4.0.1.tar.gz"
sha256sums="ce6e28f1bd31137f46e1173eb268889f8546687c77604a33bbce78d3584ec939  willie-4.0.1.tar.gz"
sha512sums="f59ac999f1e3070289e951f26791b36f907d3bc40ed84c54f7d53d32ef8473f2f16c6a35ab050f32dde8a12ee1bd96534e14aad941f2086fb8460f906214aa0c  willie-4.0.1.tar.gz"