summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0fb050e0bf65d2648a179e967eaa3785b74cb5c6 (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
27
28
29
30
31
# Maintainer: Muflone <webreg(at)vbsimple.net>
# Contributor: Jonathan Curran <joncfoo at gmail com>
# Contributor: Heiko Baums <heiko@baums-on-web.de>
# Contributor: Lucas SaliƩs Brum <lucas@archlinux.com.br>

pkgname=gnome-encfs-hg
pkgver=30
pkgrel=1
pkgdesc="GNOME Keyring integration for EncFS folders"
url="https://bitbucket.org/obensonne/gnome-encfs"
arch=('any')
license=('GPL3')
depends=('encfs' 'python2' 'python2-gnomekeyring' 'python2-xdg' 'python2-gnomekeyring')
makedepends=('mercurial')
source=("${pkgname%-*}"::"hg+https://bitbucket.org/obensonne/gnome-encfs")
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-*}"
  hg identify -n
}

prepare() {
  cd "${pkgname%-*}"
  sed -i -e "s|bin\/python|bin\/python2|" gnome-encfs
}

package() {
  cd "${pkgname%-*}"
  install -D -m755 gnome-encfs "${pkgdir}/usr/bin/${pkgname%-*}"
}