blob: 1684412d171aa910540eb47ff7b6911988fb3696 (
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
40
41
42
43
44
45
|
# Maintainer:
# Contributor: Kevin MacMartin <prurigro@gmail.com>
# Contributor: Gabriele Fulgaro <gabriele.fulgaro@gmail.com>
_pkgname="fuse-ext2"
pkgname="$_pkgname-git"
pkgver=0.0.11.r2.ge8f1063
pkgrel=1
pkgdesc="A multi OS FUSE module to mount ext2, ext3 and ext4 file system devices and/or images with read write support"
url="https://github.com/alperakcan/fuse-ext2"
license=('GPL-2.0-only')
arch=('x86_64')
depends=(
'e2fsprogs'
'fuse2'
)
makedepends=(
'git'
)
provides=("$_pkgname=${pkgver%%.r*}")
conflicts=("$_pkgname")
_pkgsrc="$_pkgname"
source=("$_pkgsrc"::"git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgsrc"
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
| sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$_pkgsrc"
autoreconf --install --symlink
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd "$_pkgsrc"
make DESTDIR="$pkgdir" install
}
|