diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-04 18:39:32 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:41 +0200 |
commit | 4a17d7dfd1047bb493f610612f28be6416e80475 (patch) | |
tree | 4bd290cd8b1072d0f93898274626cc53fd3cfca2 | |
download | pkgbuilds-4a17d7dfd1047bb493f610612f28be6416e80475.tar.xz |
kittypack-git: import
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..6291d0a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 14:54:16 UTC 2015 +pkgbase = kittypack-git + pkgdesc = A silly little tool to get info from archlinux.org/packages + pkgver = 0.r15.cb4edf4 + pkgrel = 1 + url = https://github.com/MrElendig/kittypack + arch = any + license = AGPL3 + makedepends = git + depends = python + depends = python-requests + depends = python-docopt + depends = python-yaml + backup = etc/kittypack.conf + source = git://github.com/MrElendig/kittypack.git + sha1sums = SKIP + +pkgname = kittypack-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..0cfe495 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=kittypack-git +pkgver=0.r15.cb4edf4 +pkgrel=1 + +pkgdesc="A silly little tool to get info from archlinux.org/packages" +url="https://github.com/MrElendig/kittypack" +arch=('any') +license=('AGPL3') + +backup=('etc/kittypack.conf') + +depends=('python' 'python-requests' 'python-docopt' 'python-yaml') +makedepends=('git') + +source=(git://github.com/MrElendig/kittypack.git) +sha1sums=('SKIP') + +pkgver() { + cd kittypack + printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd kittypack + python3 setup.py install --root="$pkgdir" +} |