blob: ce4113638f197ed0288896c0d67fe6278f3d738c (
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
|
# Maintainer: Hugo Hörnquist <hugo@lysator.liu.se>
pkgname=repofs-git
pkgver=r155.14b37ec
pkgrel=1
pkgdesc="Filesystem view of version control repositories"
arch=('any')
license=('Apache')
makedepends=('git' 'python-setuptools')
checkdepends=('git')
depends=('python-fusepy' 'python-pygit2' 'python')
url='https://github.com/aueb-balab/repofs'
source=("${pkgname}::git+$url")
conflicts=('repofs')
provides=('repofs')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
check() {
cd "$srcdir/$pkgname"
make test
}
build() {
cd "$srcdir/$pkgname"
python setup.py build
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -m644 -D -t "$pkgdir/usr/share/man/man1" repofs.1
}
|