blob: 5c014434bf7bd6857c35579b7150c882847d707f (
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
|
# Maintainer: Ariel Abreu <facekapow@outlook.com>
pkgname=partfs-git
pkgver=v0.1.0.r0.g125ad57
pkgrel=1
pkgdesc="FUSE-based file system for accessing partitions on a disk"
arch=('x86_64')
url="https://github.com/braincorp/partfs"
license=('BSD')
depends=(
'fuse'
'util-linux-libs'
)
makedepends=(
'git'
'cmake'
'make'
'gcc'
'util-linux'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/braincorp/partfs.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${pkgname%-git}"
make
}
package() {
cd "$srcdir/${pkgname%-git}"
install -D -t "$pkgdir/usr/bin" -o root -g root -m 755 build/bin/partfs
}
|