aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d65ae1be066db0d7e71c652b9baf1149673eadc (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
pkgname=src-git
pkgver=0.12.r2.g80ab9e0
pkgrel=1

pkgdesc="Simple Revision Control with modern UI for single-file projects"
url="http://www.catb.org/esr/src/"
arch=('any')
license=('BSD')

depends=('python2' 'rcs')
optdepends=('rcs-fast-import: required for src fast-import')
makedepends=('asciidoc')

source=('git+https://gitorious.org/src-vcs/src-vcs.git')

sha1sums=('SKIP')

pkgver() {
	cd src-vcs
	git describe --long | sed -r 's/([^-]*-g)/r\1/; s/-/./g'
}

package() {
	cd src-vcs
	make DESTDIR="$pkgdir" prefix=/usr install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
}