summaryrefslogtreecommitdiff
path: root/core/e2fsprogs/MAKEPKG
blob: 64110d3669e4f87f4f93dd698e8074f1fc859ebd (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
#!/bin/mkpkg
# description: Ext2/3/4 filesystem utilities
# url: https://e2fsprogs.sourceforge.net/

name=e2fsprogs
version=1.47.4
release=1
depends=(util-linux)
source=(https://www.kernel.org/pub/linux/kernel/people/tytso/$name/v$version/$name-$version.tar.xz)

sha256sums=(
    "fd5bf388cbdbe006a3d3b318d983b2948382440acc85a87f1e7d108653e8db0b"
)

build() {
    cd $name-$version

    ./configure \
        --prefix=/ \
        --bindir=/bin \
        --sbindir=/sbin \
        --libdir=/lib \
        --includedir=/include \
        --mandir=/usr/share/man \
        --enable-elf-shlibs \
        --disable-nls \
        --disable-uuidd \
        --disable-fsck \
        --disable-libuuid \
        --disable-libblkid

    make
    make DESTDIR=$PKG install

    rm -f $PKG/lib/e2initrd_helper	
    rm -rf $PKG/libexec $PKG/lib/udev $PKG/etc/cron.d
    rm -rf $PKG/share
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh