public
Created

imaplib2-git.PKGBUILD

  • Download Gist
gistfile1.sh
Shell
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
# Maintainer: Hugo Osvaldo Barrera <hugo@osvaldobarrera.com.ar>
 
pkgname=imaplib2-git
_pkgname=imaplib2
_gitname=code
pkgver=3af048b
pkgrel=1
pkgdesc="Python IMAP4rev1 mail protocol client class using threads for parallel operation."
arch=('any')
url="http://imaplib2.sourceforge.net/"
license=('custom')
makedepends=('git')
conflicts=('imaplib2')
provides=('imaplib2')
source=('git+http://git.code.sf.net/p/imaplib2/code')
md5sums=('SKIP')
 
pkgver() {
cd $_gitname
git describe --always | sed 's|-|.|g'
}
 
package() {
cd $_gitname
install -Dm644 imaplib2.py "$pkgdir/usr/lib/python2.7/site-packages/imaplib2.py"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.