summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2d6248cb2ecc344c05cd6e69b10677b33ae9847 (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
# Maintainer: biloucat <biloucat at gmail dot com>

pkgname=python-tkencfs-git
_gitname=tkencfs
pkgver=0.9.r8.g081e649
pkgrel=1
pkgdesc='EncFS GUI for encrypted directory mounting'
arch=('any')
url='https://github.com/biloucat/tkencfs'
license=('GPL3')
makedepends=('git' 'python-setuptools')
depends=('encfs' 'python>=3.6' 'tk>=8.6.6')

source=("git+https://github.com/biloucat/tkencfs.git")
md5sums=('SKIP')


pkgver() {
  cd "$srcdir/$_gitname"
	#cutting off 'v' prefix that presents in the git un-annoted tag
	git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}
package() {
  cd "$srcdir/$_gitname"
  python setup.py install --root="$pkgdir/" --optimize=1
	# remove egg
	msg "Remove egg"
	rm  -R $pkgdir/usr/lib
}