summaryrefslogtreecommitdiff
path: root/repo/system/ubase.xibuild
blob: 2e029a7023fc83ac863c02122eb6a3011b88b6ab (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
#!/bin/sh

MAKEDEPS="make "
DEPS="musl"

SOURCE=https://git.suckless.org/ubase

DESC="ubase from suckless.org"

prepare () {
    /usr/bin/find -type 'f' -name '*.c' | xargs sed -i "s@#include <sys/types.h>@#include <sys/sysmacros.h>@g" 
}

build () {
    make
}

package () {
    make PREFIX=/usr DESTDIR=$PKG_DEST install 

    #for p in todo; do
    #   rm $PKG_DEST/usr/bin/$p
    #   rm $PKG_DEST/usr/share/man/man1/$p.1
    #done
}