diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..05e6331831f9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-binaryornot + pkgdesc = Ultra-lightweight pure Python package to check if a file is binary or text + pkgver = 0.3.0 + pkgrel = 1 + url = https://github.com/audreyr/binaryornot + arch = any + groups = devel + license = BSD + depends = python + options = !emptydirs + source = https://github.com/audreyr/binaryornot/archive/0.3.0.tar.gz + md5sums = 8ef002b896a5f93b9875d78ffa3cf666 + +pkgname = python-binaryornot + 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: |