diff options
author | Dimitri Merejkowsky | 2016-04-09 23:58:50 +0200 |
---|---|---|
committer | Dimitri Merejkowsky | 2016-04-09 23:59:10 +0200 |
commit | d6aacbae0e282dbcc047746a22656ff0c84c44a0 (patch) | |
tree | 6e2d941adbb4c7b13234bc75ee374df0d257e050 | |
download | aur-d6aacbae0e282dbcc047746a22656ff0c84c44a0.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 36 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7e9a26832be6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = static_tl + pkgdesc = Generate a static HTML website from your Twitter time line + pkgver = 0.2 + pkgrel = 1 + url = https://github.com/dmerejkowsky/static_tl + arch = any + license = BSD + depends = python-setuptools + depends = python-arrow + depends = python-jinja + depends = python-twitter + source = https://pypi.python.org/packages/source/s/static_tl/static_tl-0.2.tar.gz + md5sums = 8796323ca2d3cee05da7ff7da171683f + +pkgname = static_tl + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..577de7a7059f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +*.pkg.tar.xz +*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..758cae2884f4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Dimitri Merejkowsky <d.merej@gmail.com> +pkgname=static_tl +pkgver='0.2' +pkgrel='1' +pkgdesc="Generate a static HTML website from your Twitter time line" +arch=('any') +url='https://github.com/dmerejkowsky/static_tl' +license=('BSD') +depends=('python-setuptools' + 'python-arrow' + 'python-jinja' + 'python-twitter') + +source=("https://pypi.python.org/packages/source/s/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('8796323ca2d3cee05da7ff7da171683f') + + +build() { + # build python: + cd ${pkgname}-${pkgver} + python setup.py build + +} + +package() { + cd ${pkgname}-${pkgver} + + # python + python setup.py install --root="$pkgdir/" --optimize=1 + + # license + mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" + install -m 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim:set ts=2 sw=2 et: |