summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d2310584562137c2d3b56b52cee94ed064dea88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Rhinoceros <https://aur.archlinux.org/account/rhinoceros>
# Contributor: Jakob Nixdorf <flocke [swirly thing] shadowice [dot] org>
# Contributor: Vinícius dos Santos Oliveira <vini [dot] ipsmaker [at] gmail [dot] com>

pkgname=gkeyring-git
pkgver=0.3.r10.g27779a9
pkgrel=1
pkgdesc='A small Python tool for shell access to GNOME keyring. It provides simple querying for and creating of keyring items.'
arch=('any')
url='https://github.com/kparal/gkeyring'
license=('AGPL3')
depends=('python2' 'python2-gnomekeyring' 'python2-distribute')
conflicts=('gkeyring')
options=(!emptydirs)
source=(${pkgname%-git}::git+https://github.com/kparal/gkeyring)
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "${pkgname%-git}"
  python2 setup.py install --root="${pkgdir}/" --optimize=1
}