summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ccdf97fece171e1d9795b6551f18f60c914dccc (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
#
# Maintainer: Drew Chapin <drew@drewchapin.com>
#
pkgname=nautilus-emblems-menu-extension-git
pkgver=r13.62041a2
pkgrel=2
pkgdesc="This is a simple Nautilus extension which adds a context menu to files and directories which lets you set/modify emblems its emblems."
arch=('any')
url="https://github.com/allefant/Nautilus-Emblems-Menu-Extension"
license=('Public Domain')
depends=('python2-nautilus' 'nautilus')
optdepends=()
makedepends=('git' 'python2-nautilus')
conflicts=()
backup=()
source=('git+https://github.com/allefant/Nautilus-Emblems-Menu-Extension.git')
md5sums=('SKIP')
sha256sums=('SKIP')

pkgver() {
  cd Nautilus-Emblems-Menu-Extension
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd Nautilus-Emblems-Menu-Extension
	install -Dm644 nautilus_emblems_menu.py "$pkgdir/usr/share/nautilus-python/extensions/nautilus_emblems_menu.py"
}