diff options
author | Christoph Seitz | 2015-12-07 17:48:49 +0100 |
---|---|---|
committer | Christoph Seitz | 2015-12-07 17:48:49 +0100 |
commit | e4d99ec2c128880df701a1fcad1cc098d34918fd (patch) | |
tree | 1ac1ecd53e8e1be8fdca234359169bcdf3051b0d | |
download | aur-git-fire-git.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..896296da95f2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Mon Dec 7 16:48:05 UTC 2015 +pkgbase = git-fire-git + pkgdesc = A Git plugin that helps in the event of an emergency. + pkgver = r43.7284b9c + pkgrel = 1 + url = https://github.com/qw3rtman/git-fire + arch = any + license = MIT + makedepends = git + depends = git + provides = git-fire + conflicts = git-fire + source = git+https://github.com/qw3rtman/git-fire.git + md5sums = SKIP + +pkgname = git-fire-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b96f8c938907 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Christoph Seitz <christoph.seitz@posteo.de> +pkgname=git-fire-git +pkgver=r43.7284b9c +pkgrel=1 +pkgdesc="A Git plugin that helps in the event of an emergency." +arch=(any) +url="https://github.com/qw3rtman/git-fire" +license=('MIT') +depends=('git') +makedepends=('git') +provides=('git-fire') +conflicts=('git-fire') +source=('git+https://github.com/qw3rtman/git-fire.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + # Git, no tags available + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + + +package() { + cd "$srcdir/${pkgname%-git}" + mkdir -p "$pkgdir/usr/bin/" + cp git-fire "$pkgdir/usr/bin/" +} |