diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1ef0b084b333 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Meir Kriheli <mkriheli@gmail.com> +# Contributor: + +pkgname=python-binaryornot +_pkgname=binaryornot +pkgver=0.3.0 +pkgrel=1 +pkgdesc="Ultra-lightweight pure Python package to check if a file is binary or text" +arch=('any') +url="https://github.com/audreyr/binaryornot" +license=('BSD') +groups=('devel') +depends=('python') +makedepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +source=("https://github.com/audreyr/${_pkgname}/archive/${pkgver}.tar.gz") +md5sums=("8ef002b896a5f93b9875d78ffa3cf666") + +package() { + cd "$srcdir/${_pkgname}-${pkgver}" + python setup.py install --root="$pkgdir/" +} + +# vim:set ts=2 sw=2 et: |