# Contributor: Fabian Affolter # Maintainer: Fabian Affolter setglobal pkgname = 'willie' setglobal pkgver = '4.4.1' setglobal pkgrel = '0' setglobal pkgdesc = '"A lightweight and easy-to-use IRC Utility bot'" setglobal url = '"http://willie.dftba.net/'" setglobal arch = '"noarch'" setglobal license = '"EFL 2.0'" setglobal depends = '"python py-tz py-lxml py-feedparser py-enchant py-geoip py-praw py-openssl py-mysqldb'" setglobal depends_dev = ''"" setglobal makedepends = '"python-dev py-setuptools'" setglobal install = ''"" setglobal subpackages = ''"" setglobal source = ""http://willie.dftba.net/files/$pkgname-$pkgver.tar.gz"" setglobal _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { local i cd $_builddir for i in [$source] { match $i { with *.patch msg $i; patch -p1 -i "$srcdir"/$i || return 1 } } } proc build { cd $_builddir python setup.py build || return 1 } proc package { cd $_builddir python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } setglobal md5sums = '"b40de4b2959abc7d80069b0c0b6e4bb9 willie-4.4.1.tar.gz'" setglobal sha256sums = '"956c49d1643bfbd15231f2980874e1f25b45540a844d7be4a9a78e206fa34e32 willie-4.4.1.tar.gz'" setglobal sha512sums = '"902095f52e62021e44376942ee24955e355a5fb51ccf3642cc9176364576aab289f2edc22c2b598793d960715a280c2c8f156f4f3cf9444781b54b864865ba31 willie-4.4.1.tar.gz'"