summaryrefslogtreecommitdiffstats
path: root/main/py-irc
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-irc')
-rw-r--r--main/py-irc/APKBUILD28
1 files changed, 20 insertions, 8 deletions
diff --git a/main/py-irc/APKBUILD b/main/py-irc/APKBUILD
index d94a16b33..ff68a9684 100644
--- a/main/py-irc/APKBUILD
+++ b/main/py-irc/APKBUILD
@@ -1,20 +1,21 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-irc
-pkgver=3.0.1
+_pkgname=irc
+pkgver=8.0.1
pkgrel=0
-pkgdesc="python irc client library"
+pkgdesc="A python irc client library"
url="http://python-irclib.sourceforge.net/"
arch="noarch"
-license="LGPL"
+license="LGPL2+"
depends=""
depends_dev="python"
-makedepends="$depends_dev py-hgtools"
+makedepends="$depends_dev py-hgtools py-setuptools"
install=""
-subpackages=""
-source="http://pypi.python.org/packages/source/i/irc/irc-${pkgver}.zip"
+subpackages="$pkgname-scripts"
+source="http://pypi.python.org/packages/source/i/irc/$_pkgname-${pkgver}.zip"
-_builddir="$srcdir"/irc-$pkgver
+_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
@@ -35,4 +36,15 @@ package() {
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="d69203c3d92867a99d669339f0ec87cb irc-3.0.1.zip"
+scripts() {
+ _files="dccreceive.py dccsend.py irccat.py irccat2.py \
+ servermap.py testbot.py"
+ for _file in $_files; do
+ install -Dm644 "$_builddir"/scripts/$_file \
+ "$subpkgdir"/usr/share/doc/"$pkgname"/scripts/$_file || return 1
+ done
+}
+
+md5sums="0d4073d11845cac2d9eef60505f3c5fc irc-8.0.1.zip"
+sha256sums="d7b0703f8fd94d67eac8136e4f8d8a4975b24f492766ba4372256932f44caf19 irc-8.0.1.zip"
+sha512sums="6df02af77f0f7580f7ca1af273a46fe546c5c0aa55b75e2a689994f4547e6eed54c121e7d38b301f7874c98affe13a32bd5ff27401b9de90b02291a4e703c85c irc-8.0.1.zip"