blob: fd69babdc01fecfc15d6cd3921f5b36c7a2ef6c6 (
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
|
# Maintainer: Eugene Lebedev <satanych13+dev@gmail.com>
_pkgname=mcachefs
pkgname="mcachefs-git"
pkgver=r1.bd4b31c
pkgrel=1
pkgdesc="Simple filesystem-based file cache based on FUSE"
arch=('i686' 'x86_64')
url="https://github.com/Doloops/mcachefs"
license=('Apache')
depends=('fuse')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
source=(mcachefs::git+https://github.com/Doloops/${_pkgname}.git)
md5sums=('SKIP')
pkgver() {
cd mcachefs
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd mcachefs/src
make PREFIX=/usr
}
package() {
cd mcachefs/src
mkdir -p "$pkgdir/usr/include/${_pkgname}"
#install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
install -Dm755 "${_pkgname}" "$pkgdir/usr/bin/${_pkgname}"
install -Dm755 *.h "$pkgdir/usr/include/${_pkgname}/"
}
|