diff options
author | Mike Cooper | 2015-08-25 12:59:58 -0700 |
---|---|---|
committer | Mike Cooper | 2015-08-25 12:59:58 -0700 |
commit | d2a302c9175ab8a531d08d6554a7a747e4bc3de6 (patch) | |
tree | 1b5a0c17b9251ddd88629657ead4f94b746eeab8 | |
download | aur-d2a302c9175ab8a531d08d6554a7a747e4bc3de6.tar.gz |
Initial commit - 0.2.0
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9c22d000ccee --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = field + pkgdesc = Extact fields from a file or stdin + pkgver = 0.2.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/field/0.2.0 + arch = any + license = GPL3 + depends = python2 + options = !emptydirs + source = https://pypi.python.org/packages/source/f/field/field-0.2.0.tar.gz + md5sums = 64eb76b875a128041eb31b625b435616 + +pkgname = field + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..38ba3a46e41b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg/ +/src/ +/field-*.tar.gz +/field-*.pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ca4f28cf4e07 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Mike Cooper <mythmon@elem.us> +pkgname=field +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Extact fields from a file or stdin" +arch=('any') +url="https://pypi.python.org/pypi/field/0.2.0" +license=('GPL3') +depends=('python2') +options=(!emptydirs) +source=("https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('64eb76b875a128041eb31b625b435616') + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |