diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-19 13:14:55 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-19 13:16:07 +0200 |
commit | 52f074b4090c9559d1b8f2b84da31876cbe821c8 (patch) | |
tree | 12b8057fbddc3c65695498973b854f908465a3d8 /community | |
parent | 6a506ae1c0f32cef90c228850fa1cab7381baba6 (diff) | |
download | aports-52f074b4090c9559d1b8f2b84da31876cbe821c8.tar.bz2 aports-52f074b4090c9559d1b8f2b84da31876cbe821c8.tar.xz |
community/tpm: move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/tpm/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/community/tpm/APKBUILD b/community/tpm/APKBUILD new file mode 100644 index 0000000000..bfb71fcc0d --- /dev/null +++ b/community/tpm/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=tpm +pkgver=1.3.2 +pkgrel=0 +pkgdesc="A tiny password manager" +url="http://github.com/nmeum/$pkgname" +arch="noarch" +license="GPL3+" +depends="gnupg" +makedepends="perl" +install="" +subpackages=" + $pkgname-doc + $pkgname-zsh-completion:zshcomp + $pkgname-bash-completion:bashcomp" +source="$pkgname-$pkgver.tar.gz::https://github.com/nmeum/$pkgname/archive/$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + make -C "$builddir" || return 1 +} + +package() { + make DESTDIR="$pkgdir" PREFIX="/usr" \ + -C "$builddir" install || return 1 +} + +bashcomp() { + depends="" + pkgdesc="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + arch="noarch" + + install -Dm644 "$builddir"/contrib/bash_completion \ + "$subpkgdir"/usr/share/bash-completion/completions/$pkgname || return 1 +} + +zshcomp() { + depends="" + pkgdesc="Zsh completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel zsh" + arch="noarch" + + install -Dm644 "$builddir"/contrib/zsh_completion \ + "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname || return 1 +} + +md5sums="d86118c38e908663c8d1422c79f6ce1d tpm-1.3.2.tar.gz" +sha256sums="9ea145e7f731c50ba3a8dfa252c7d0b31cd5b12b03db33dd95d7d8ebb53d4e6b tpm-1.3.2.tar.gz" +sha512sums="27486d511cbfd5c62f45ab2094844cf20215268f8e11f7c04ed54ce8d6af5de5b1241421c08408bbbbfdba5b037a0447c10f830fae7c41c6bf7bdba961f399e6 tpm-1.3.2.tar.gz" |