diff options
author | Gore Liu | 2016-08-25 08:01:55 +0800 |
---|---|---|
committer | Gore Liu | 2016-08-25 08:01:55 +0800 |
commit | 3fb9d00ca6b66cf41b58893246279567eb997490 (patch) | |
tree | 5411c214d583f48d2adc6f05ae4623470a7feda3 | |
download | aur-3fb9d00ca6b66cf41b58893246279567eb997490.tar.gz |
Add files
-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..401cbbd7fac6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Thu Aug 25 00:01:23 UTC 2016 +pkgbase = python-lolcat + pkgdesc = Rainbows and unicorns (without Ruby! jay!) + pkgver = 0.44 + pkgrel = 1 + url = https://github.com/tehmaze/lolcat + arch = any + license = beerware + depends = python-setuptools + source = https://github.com/tehmaze/lolcat/archive/0.44.tar.gz + md5sums = 1688c1987087eb7bc55ad70e0fd91c25 + +pkgname = python-lolcat + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..745b9076799c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Gore Liu <goreliu@126.com> + +pkgname=python-lolcat +_realname=lolcat +pkgver=0.44 +pkgrel=1 +pkgdesc="Rainbows and unicorns (without Ruby! jay!)" +url="https://github.com/tehmaze/lolcat" +arch=('any') +license=('beerware') +depends=('python-setuptools') +source=("https://github.com/tehmaze/${_realname}/archive/${pkgver}.tar.gz") +md5sums=('1688c1987087eb7bc55ad70e0fd91c25') + +build() { + cd "${srcdir}"/"${_realname}-${pkgver}" + python setup.py build +} + +check() { + cd "${srcdir}"/"${_realname}-${pkgver}" + LC_CTYPE=en_US.UTF-8 python setup.py test +} + +package() { + cd "${srcdir}"/"${_realname}-${pkgver}" + python setup.py install --root="$pkgdir" +} |