Skip to content

Instantly share code, notes, and snippets.

@WhyNotHugo
Created June 3, 2013 22:51
Show Gist options
  • Save WhyNotHugo/5702158 to your computer and use it in GitHub Desktop.
Save WhyNotHugo/5702158 to your computer and use it in GitHub Desktop.
imaplib2-git.PKGBUILD
# 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