diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..91b47ccb1d8b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Lex Black <autumn-wind at web dot de> +# Contributor: nmeum <nmeum-aur@8pit.net> + +pkgname=tpm +pkgver=1.2 +pkgrel=2 +pkgdesc='tiny password manager' +url='http://github.com/nmeum/tpm' +license=('GPL') +arch=('i686' 'x86_64') +depends=('gnupg') +source=("https://github.com/nmeum/${pkgname}/archive/${pkgver}.tar.gz") +sha256sums=('348e172a7340535f2d507cd23350d5c635d489f942424e871169375ffe416e59') + + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX=/usr DESTDIR="${pkgdir}" install + + install -Dm644 zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" + install -Dm644 bash_completion "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" +} |