mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 21:32:22 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# 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"
|