diff options
author | Josh Klar | 2017-07-30 16:27:18 -0700 |
---|---|---|
committer | Josh Klar | 2017-07-30 16:27:18 -0700 |
commit | ed3e17734194479f42f8b5fd1f6eed98f2c377d3 (patch) | |
tree | 2b70b5a4667b8328f78037dd26f29ee5a1ed1368 | |
download | aur-ed3e17734194479f42f8b5fd1f6eed98f2c377d3.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b501341c69b2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = git-staredown-git + pkgdesc = A utility to find which GitHub pull requests have been associated with a file + pkgver = r4.50f2f27 + pkgrel = 1 + url = https://github.com/iv597/git-staredown + arch = any + license = MIT + makedepends = git + depends = python-pygit2 + depends = python-github3 + provides = git-staredown + conflicts = git-staredown + source = git+https://github.com/iv597/git-staredown.git + md5sums = SKIP + +pkgname = git-staredown-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aeba475be479 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Josh Klar <j@iv597.com> +pkgname=git-staredown-git +pkgver=r4.50f2f27 +pkgrel=1 +pkgdesc="A utility to find which GitHub pull requests have been associated with a file" +arch=(any) +url="https://github.com/iv597/git-staredown" +license=("MIT") +groups=() +depends=("python-pygit2" "python-github3") +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +replaces=() +backup=() +options=() +install= +source=('git+https://github.com/iv597/git-staredown.git') +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +#prepare() { +# cd "$srcdir/${pkgname%-git}" +# patch -p1 -i "$srcdir/${pkgname%-git}.patch" +#} + +package() { + cd "$srcdir/${pkgname%-git}" + install -D -m0755 git-staredown.py "${pkgdir}/usr/bin/git-staredown" +} |