summaryrefslogtreecommitdiff
path: root/opt/cifs-utils/MAKEPKG
blob: 1afcb48ff6435602f0e5e1613499d6ac954354ed (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
#!/bin/mkpkg
# description: Tools for mounting SMB/CIFS shares
# url: https://wiki.samba.org/index.php/LinuxCIFS_utils
name=cifs-utils
version=7.7
release=1
depends=(keyutils libcap2 talloc)
source=(https://www.samba.org/ftp/linux-cifs/$name/$name-$version.tar.bz2)

sha256sums=(
    "2f8aae9aa5ddd73fbaf4d61e2e5e19ef54124cbf2810b626820050e7bd2f6606"
)

build() {
    cd $name-$version

    autoreconf -i

    ./configure \
        --prefix=/usr \
        --sbindir=/usr/sbin \
        --disable-pam \
        --disable-systemd

    make
    make DESTDIR=$PKG install
    if [ -d $PKG/sbin ]; then
        mv $PKG/sbin/* $PKG/usr/sbin/
        rmdir $PKG/sbin
    fi
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh