summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4193bdbcf2e854d49cbd51093eb9fa1f9317d6aa (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
32
# Maintainer: Florian Schweiger <mpkmpoza@duck.com>
upstream_name=actions-for-nautilus
pkgname="$upstream_name-git"
pkgver=v1.6.1_4_g0a3c7ce
pkgrel=2
pkgdesc='Nautilus extension to add arbitrary actions to the file selection context menu'
arch=('x86_64')
url='https://github.com/bassmanitram/actions-for-nautilus'
license=('Apache')
depends=('nautilus' 'python-nautilus' 'python-gobject' 'procps-ng' 'jquery')
makedepends=('git' 'sed')
optdepends=()
provides=()
conflicts=('filemanager-actions')
backup=("~/.local/share/actions-for-nautilus/config.json")
options=()
install=
changelog=
source=('git+https://github.com/bassmanitram/actions-for-nautilus.git')
noextract=()
sha256sums=('SKIP')
prepare() {
	sed -Ei 's#(^.*LOC=)\$\(.+ALLOC\)#\1/usr/share#' "$srcdir/$upstream_name/Makefile"
}
pkgver() {
	cd "$upstream_name"
	git describe --tags | tr - _
}
package() {
	cd "$upstream_name"
	make GLOBALLOC="$pkgdir/usr/share" install_global
}