summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 12d9cf1f409ed9abc52f372134f2617e4263c645 (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
33
34
35
36
# Maintainer: Pablo Lezaeta <prflr88 @ gmail . com> (Pony Provider)

pkgname=thunar-nilfs2-plugin-git
_pkgname=thunar-nilfs2-plugin
pkgver=0.git2
pkgrel=1
pkgdesc="You can see a list of checkpoints created by NILFS2 in Thunar"
arch=('i686' 'x86_64')
url="https://github.com/kazuki/thunar-nilfs2-plugin" 
license=('GPL3')
depends=('nilfs-utils')
provides=('thunar-nilfs2-plugin')
conflicts=('thunar-nilfs2-plugin' 'thunar-nilfs2-plugin-git')
makedepends=('git' 'thunar' 'xfce4-dev-tools')
source=("$_pkgname::git+https://github.com/kazuki/thunar-nilfs2-plugin.git")
md5sums=("SKIP")

pkgver(){
	cd $_pkgname
	#echo "$(git describe --always --abbrev=0 ).git$(git rev-list --count HEAD | sed 's/-/./g' )"
	echo "0.git$(git rev-list --count HEAD | sed 's/-/./g' )"
}

build(){
	cd $srcdir/$_pkgname
	./autogen.sh --prefix=/usr --bindir=/usr/bin \
		--sbindir=/usr/bin --libdir=/usr/lib \
		--libexecdir=/usr/lib/$_pkgname
	make
}

package(){
	cd $srcdir/$_pkgname
	make DESTDIR=$pkgdir sbindir=/usr/bin install
}