diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c80c792c9b95 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Aaron DeVore <aaron.devore@gmail.com> +# Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com> + +pkgname=python-timelib +pkgver=0.2.4 +pkgrel=1 +pkgdesc="A library to parse english textual date descriptions [Python 3]" +arch=('i686' 'x86_64') +url="http://pypi.python.org/pypi/timelib" +license=(PHP custom) +depends=('python') +source=("http://pypi.python.org/packages/source/t/timelib/timelib-$pkgver.zip") +md5sums=('400e316f81001ec0842fa9b2cef5ade9') + +build() { + cd "$srcdir/timelib-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} + +package() { + cd "$srcdir/timelib-$pkgver" + install -D -m644 README.rst \ + "$pkgdir/usr/share/licenses/$pkgname/README.rst" +} |