summaryrefslogtreecommitdiff
path: root/repo/mime-types/mime-types.xibuild
blob: d5d72744efe2b7e524ceebbb2c0a0749647db8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

NAME="mime-types"
DESC="Helper application for MIME types"

MAKEDEPS="make "
DEPS="xterm "

PKG_VER=2.1.53
SOURCE="https://releases.pagure.org/mailcap/mailcap-$PKG_VER.tar.xz"

prepare () {
    sed -i 's/-Dpm/-Dm/' Makefile
}

package () {
    make PREFIX=/usr DESTDIR=$PKG_DEST install
    rm -Rf $PKG_DEST/etc/nginx
}