diff options
author | Victor Häggqvist <[email protected]> | 2015-05-21 02:03:00 +0200 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2015-05-21 02:03:00 +0200 |
commit | 121de516219bc2a0029852d53d71552cbb531d1c (patch) | |
tree | 8dbe8a2d2d64ca350b0435d9ee19502230ccc567 | |
parent | 7c1fcd7859e356cde7711884fd35101b56b49433 (diff) |
arch package
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | packaging/PKGBUILD | 25 |
2 files changed, 30 insertions, 4 deletions
@@ -1,11 +1,12 @@ -giti -==== +# giti + A python command line tool for getting .gitignore files. Inspired by https://github.com/msfeldstein/gitignore. ```sh git clone https://github.com/victorhaggqvist/giti.git +cd giti +python setyp.py install ``` -#FYI -These are my first lines Python ever. +Or from AUR `giti`. diff --git a/packaging/PKGBUILD b/packaging/PKGBUILD new file mode 100644 index 0000000..85160f8 --- /dev/null +++ b/packaging/PKGBUILD @@ -0,0 +1,25 @@ +# vim: ts=2 sts=2 sw=2 et ft=sh +# Maintainer: Victor Häggqvist <[email protected]> + +pkgname=giti +pkgver=0.2.1 +pkgrel=1 +pkgdesc="A python command line tool fetching getting .gitignore files" +url="https://github.com/victorhaggqvist/giti" +license=('MIT') +arch=('any') +depends=('python' 'python-requests') +makedepends=('python-setuptools') + +source=(https://github.com/victorhaggqvist/giti/archive/v${pkgver}.zip) +sha512sums=('04a103603f17ec0d217fd949ae7706c03007f45eaf551636a4cf34f0d995d60b99f18d0755c5ff4f6a79583d7d96ad55f56286a24099a430bebd5ec59ddf06fd') + +build() { + cd "$srcdir/giti-${pkgver}" + python setup.py build +} + +package() { + cd "$srcdir/giti-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 +} |