Created
June 3, 2013 22:51
-
-
Save WhyNotHugo/5702158 to your computer and use it in GitHub Desktop.
imaplib2-git.PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment