summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 923bd8adfe56dace95378bf90cb6ca7332a57eb0 (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
37
38
39
40
41
42
43
44
# Maintainer: madmurphy <madmurphy333 AT gmail DOT com>

_appname='nextgen'
pkgname="${_appname}-git"
pkgver='r16.589d0ed'
pkgrel=1
pkgdesc='An interactive Bash script that lets you easily set up a new extension project for GNOME Files (Nautilus)'
arch=('any')
url="https://github.com/madmurphy/${_appname}"
license=('GPL')
depends=('bash' 'libnautilus-extension')
provides=("${_appname}")
conflicts=("${_appname}")
source=("git+https://github.com/madmurphy/${_appname}.git")
sha256sums=('SKIP')

pkgver() {

	cd "${_appname}"
	printf "'r%s.%s'" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

prepare() {

	cd "${srcdir}/${_appname}"
	autoreconf -i

}

build() {

	cd "${srcdir}/${_appname}"
	./configure --prefix=/usr

}

package() {

	cd "${srcdir}/${_appname}"
	make DESTDIR="${pkgdir}" install

}