summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9aae9c5f38a483f134a92d9f18d2e337e82f46fe (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
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=nemo-deja-dup-git
pkgver=r2.f99427f
pkgrel=4
pkgdesc="Déjà Dup Actions for Nemo File Manager"
arch=('any')
url="https://github.com/erickj/nemo-actions"
license=('GPL')
depends=('nemo' 'deja-dup')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/erickj/nemo-actions.git")
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/nemo-actions"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/nemo-actions"
	install -Dm755 deja-dup_restore-missing.nemo_action -t "$pkgdir/usr/share/nemo/actions"
	install -Dm755 deja-dup_revert.nemo_action -t "$pkgdir/usr/share/nemo/actions"
}