diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-07-27 20:14:34 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-28 07:58:04 +0000 |
commit | 5f4dc002a707e14f9299b1274c9952c36216329d (patch) | |
tree | b64a16b2973afea4bc6d6629e7fb4c713adaaf43 /testing/tpm/APKBUILD | |
parent | 63b3ac18214995e1f458abf3ab0c04a9e16b4b45 (diff) | |
download | aports-5f4dc002a707e14f9299b1274c9952c36216329d.tar.bz2 aports-5f4dc002a707e14f9299b1274c9952c36216329d.tar.xz |
testing/tpm: new aport
Diffstat (limited to 'testing/tpm/APKBUILD')
-rw-r--r-- | testing/tpm/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/tpm/APKBUILD b/testing/tpm/APKBUILD new file mode 100644 index 0000000000..c7531469b1 --- /dev/null +++ b/testing/tpm/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=tpm +pkgver=1.2 +pkgrel=0 +pkgdesc="A tiny password manager" +url="http://github.com/nmeum/tpm" +arch="noarch" +license="GPL3" +depends="bash gnupg" +makedepends="perl" +install="" +subpackages="$pkgname-doc $pkgname-completion" +source="tpm-${pkgver}.tar.gz::https://github.com/nmeum/tpm/archive/${pkgver}.tar.gz" + +_builddir="$srcdir/tpm-$pkgver" +package() { + make DESTDIR="$pkgdir" PREFIX="/usr" \ + -C "$_builddir" install +} + +completion() { + pkgdesc="bash/zsh completion files for tpm" + cd "$_builddir" + + install -Dm644 zsh_completion \ + "${subpkgdir}/usr/share/zsh/site-functions/_${pkgname}" + install -Dm644 bash_completion \ + "${subpkgdir}/usr/share/bash-completion/completions/${pkgname}" +} + +md5sums="d522223a0776d337b75ec686dca3d50b tpm-1.2.tar.gz" +sha256sums="348e172a7340535f2d507cd23350d5c635d489f942424e871169375ffe416e59 tpm-1.2.tar.gz" +sha512sums="6eb014d1fa769ac8082e97802c774488b5bbe1c4d3055cf0beb6460c082fcdcd6a267600430d13e38f7ac6a0286ee4dbd9f47e4ddd43901dffb4ec2711ee4bdc tpm-1.2.tar.gz" |