summaryrefslogtreecommitdiff
path: root/core/file/MAKEPKG
blob: dc60739e66ee980fb745fab6dbec42d74d7734e6 (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
#!/bin/mkpkg
# description: File type identification utility
# url: https://www.darwinsys.com/file

name=file
version=5.48
release=1
depends=(bzip2 xz zlib zstd)
source=(https://astron.com/pub/$name/$name-$version.tar.gz)

sha256sums=(
    "ed14656883b23a364b4057c05595d93252da9bc473d30106519519d0da141283"
)

build() {
    cd $name-$version
    
    ./configure \
        --prefix=/ \
        --datadir=/usr/share \
	--mandir=/usr/share/man \
        --disable-libseccomp
    
    make
    make DESTDIR=$PKG install

    #rm -rf $PKG/share
}

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

# vim: filetype=sh