summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 563853e52efcea1e4631108af96f82d9231fc275 (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
# Maintainer: Daniel Lima <danielm@nanohub.tk>

pkgname=ccv-samples
pkgver=0.7.r1447
pkgrel=1
pkgdesc='Samples included in the CCV Library repository'
arch=('i686' 'x86_64')
url='http://libccv.org/'
license=('BSD3')
makedepends=('subversion')
source=('svn+https://github.com/liuliu/ccv/trunk/samples'
        'https://raw.githubusercontent.com/liuliu/ccv/stable/COPYING')
sha256sums=('SKIP'
            'SKIP')

pkgver() {
	cd $srcdir/samples
	echo 0.7.r`svn info | head -7 | tail -1 | cut -d' ' -f2`
}

package() {
	install -D -m644 COPYING $pkgdir/usr/share/licenses/ccv/COPYING.samples
	mkdir -p $pkgdir/usr/share/ccv
	cp -r samples $pkgdir/usr/share/ccv/samples
}