Skip to content

Instantly share code, notes, and snippets.

@richli
Created June 7, 2014 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richli/b063b025ceb807e36ba0 to your computer and use it in GitHub Desktop.
Save richli/b063b025ceb807e36ba0 to your computer and use it in GitHub Desktop.
Arch PKGBUILD for python-pyspf 2.0.9
# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
# Contributor: Rich Li <rich at dranek com>
pkgname=python-pyspf
pkgver=2.0.9
pkgrel=1
pkgdesc="Python implementation of the Sender Policy Framework (SPF) protocol"
arch=('i686' 'x86_64')
url="http://pypi.python.org/pypi/pyspf"
license=('Python Software Foundation License')
depends=('python-pydns' 'python')
makedepends=('python')
conflicts=('pyspf')
provides=('pyspf')
replaces=('pyspf')
source=(http://pypi.python.org/packages/source/p/pyspf/pyspf-$pkgver.tar.gz)
md5sums=('055b36fd9469ea77713cf064727a9c18')
build() {
cd "$srcdir/pyspf-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/pyspf-$pkgver"
python setup.py install --root=$pkgdir --optimize=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment