diff options
author | Sebastian Reuße | 2015-11-10 21:34:12 +0100 |
---|---|---|
committer | Sebastian Reuße | 2015-11-11 14:12:24 +0100 |
commit | 69ef787ce14151118a425417ac316c7792ac4845 (patch) | |
tree | cabdf25271f961db24c3a8cb0ad7eee413866cdf | |
download | aur-69ef787ce14151118a425417ac316c7792ac4845.tar.gz |
Init.
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 33 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e230aa2e2af6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = git-remote-gcrypt-git + pkgdesc = A git remote helper for GPG-encrypted remotes. + pkgver = 20150101.r1.ge914827 + pkgrel = 1 + url = https://github.com/Azulinho/git-remote-gcrypt + arch = any + license = GPL + makedepends = git + makedepends = python-docutils + depends = git + depends = gnupg + depends = bash + source = git+https://github.com/Azulinho/git-remote-gcrypt + md5sums = SKIP + +pkgname = git-remote-gcrypt-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..468cd87d3ce8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f28e1e069e77 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Sebastian Reuße <seb@wirrsal.net> +pkgname=git-remote-gcrypt-git +_gitname=git-remote-gcrypt +pkgver=20150101.r1.ge914827 +pkgrel=1 +pkgdesc="A git remote helper for GPG-encrypted remotes." +arch=(any) +# Currently, there’s no canonical upstream for git-remote-gcrypt. For now, +# use Azulinho’s fork, which provides some commits for GPG2 compatibility. +url=https://github.com/Azulinho/git-remote-gcrypt +license=(GPL) +makedepends=(git python-docutils) +depends=(git gnupg bash) +source=(git+https://github.com/Azulinho/git-remote-gcrypt) +md5sums=(SKIP) + + +pkgver() { + cd "$_gitname" + git describe --long --tags | \ + sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//;' +} + +build() { + cd "$srcdir/$_gitname" + rst2man README.rst | gzip >git-remote-gcrypt.1.gz +} + +package() { + cd "$srcdir/$_gitname" + install -Dm 755 git-remote-gcrypt "$pkgdir"/usr/bin/git-remote-gcrypt + install -Dm 644 git-remote-gcrypt.1.gz "$pkgdir"/usr/share/man/man1/git-remote-gcrypt.1.gz +} |