diff options
author | Lartza | 2015-07-07 14:53:47 +0300 |
---|---|---|
committer | Lartza | 2015-07-07 14:53:47 +0300 |
commit | 42bcda01ea9a0df7141d36b68f865c0c68dca9fa (patch) | |
tree | 8843954a31272c8334ef1f89861d73ecaf9a7b58 | |
download | aur-42bcda01ea9a0df7141d36b68f865c0c68dca9fa.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3da9a06111f5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python2-irc3-git + pkgdesc = plugable irc client library based on asyncio (Git version) + pkgver = 0.7.1.r5.gb283d68 + pkgrel = 1 + url = https://github.com/gawel/irc3 + arch = any + license = MIT + makedepends = python2-setuptools + makedepends = git + depends = python2 + depends = python2-configparser + depends = python2-trollius + depends = python2-venusian + provides = python2-irc3 + conflicts = python2-irc3 + source = git://github.com/gawel/irc3 + md5sums = SKIP + +pkgname = python2-irc3-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c10735526873 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Lari Tikkanen <lartza@wippies.com> + +pkgname=python2-irc3-git +_pkgname=irc3 +pkgver=0.7.1.r5.gb283d68 +pkgrel=1 +pkgdesc="plugable irc client library based on asyncio (Git version)" +arch=(any) +url="https://github.com/gawel/irc3" +license=('MIT') +depends=('python2' 'python2-configparser' 'python2-trollius' 'python2-venusian') +makedepends=('python2-setuptools' 'git') +provides=(python2-irc3) +conflicts=(python2-irc3) +source=(git://github.com/gawel/irc3) +md5sums=('SKIP') + +pkgver() { + cd $srcdir/$_pkgname + ( set -o pipefail + git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +build() { + cd $srcdir/$_pkgname + python2 setup.py build +} + +package() { + cd $srcdir/$_pkgname + python2 setup.py install --root=$pkgdir --optimize=1 +} |