summaryrefslogtreecommitdiffstats
path: root/testing/willie/APKBUILD
blob: 70c52d98feb877fe5650bbd54e5dc5742cdf1160 (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.4.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="b40de4b2959abc7d80069b0c0b6e4bb9  willie-4.4.1.tar.gz"
sha256sums="956c49d1643bfbd15231f2980874e1f25b45540a844d7be4a9a78e206fa34e32  willie-4.4.1.tar.gz"
sha512sums="902095f52e62021e44376942ee24955e355a5fb51ccf3642cc9176364576aab289f2edc22c2b598793d960715a280c2c8f156f4f3cf9444781b54b864865ba31  willie-4.4.1.tar.gz"