diff options
author | Gavin Lloyd | 2019-02-07 10:53:30 -0800 |
---|---|---|
committer | Gavin Lloyd | 2019-02-07 10:53:30 -0800 |
commit | 15edc3a9b268e49ea133e2797e3f3b28d2795567 (patch) | |
tree | b9d364806f530726c9afe66193709d0774bedd87 | |
download | aur-15edc3a9b268e49ea133e2797e3f3b28d2795567.tar.gz |
Init commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d4aebafa2b58 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Feb 7 18:53:24 UTC 2019 +pkgbase = hashbrowns-git + pkgdesc = Provides cryptographic hashes with a minimal UI + pkgver = 0.18.5a3aeb2 + pkgrel = 1 + url = https://github.com/gavinhungry/hashbrowns + arch = any + license = MIT + makedepends = git + depends = pygtk + depends = pango + depends = python2-pysha3 + source = hashbrowns-git::git+https://github.com/gavinhungry/hashbrowns.git#branch=master + sha256sums = SKIP + +pkgname = hashbrowns-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..acdcc3bcc000 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Gavin Lloyd <gavinhungry@gmail.com> + +pkgname=hashbrowns-git +pkgver=0.18.5a3aeb2 +pkgrel=1 +pkgdesc='Provides cryptographic hashes with a minimal UI' +url='https://github.com/gavinhungry/hashbrowns' +license=('MIT') +arch=('any') +makedepends=('git') +depends=('pygtk' 'pango' 'python2-pysha3') +source=("${pkgname}::git+${url}.git#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + echo 0.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +package() { + cd "${srcdir}/${pkgname}" + mkdir -p "$pkgdir"/usr/bin + + install -m 755 hashbrowns.py "$pkgdir"/usr/bin/hashbrowns +} |