diff options
author | Sean Fennell | 2016-06-04 01:31:52 -0700 |
---|---|---|
committer | Sean Fennell | 2016-06-04 01:31:52 -0700 |
commit | fb8624393b02055ebf48a76ad9d99de8ede154f4 (patch) | |
tree | 58291e5cbeb1f2fe10fec0403ba58c7598de94d4 /PKGBUILD | |
download | aur-fb8624393b02055ebf48a76ad9d99de8ede154f4.tar.gz |
initial commit with completed and tested PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b3362ec33578 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: eadrom <eadrom@archlinux.info> +# Contributor: Vassilis Palassopoulos <palasso [at] gmail [dot] com> + +pkgname=latchbox-git +pkgver=1.3.3.0.r80.9ce65b6 +pkgrel=1 +pkgdesc='LatchBox is a CLI based password manager that saves account information in an AES256-CBC encrypted file that can securely be accessed and stored by the user' +arch=('any') +url='https://github.com/DevBrush/latchbox' +license=('BSD') +depends=('glibc') +makedepends=('git' 'go') +optdepends=('xclip: provides clipboard functionality') +provides=('latchbox') +conflicts=('latchbox') +source=('latchbox-git::git+https://github.com/DevBrush/latchbox.git') +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + printf "%s.r%s.%s" "$(grep "versionNum =" src/latchbox.go | sed "s/versionNum =//" | tr -d \"\ )" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd $pkgname + make +} + +package() { + cd $pkgname + install -D -m755 bin/latchbox "${pkgdir}/usr/bin/latchbox" + install -D -m755 doc/latchbox.1.gz "${pkgdir}/usr/share/man/man1/latchbox.1.gz" + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" + install -D -m644 THIRD-PARTY-LICENSES "${pkgdir}/usr/share/licenses/$pkgname/THIRD-PARTY-LICENSES" +} |