blob: 6b2157661827ec9a4a1a71e3f3ee5937fc4c9486 (
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
|
#!/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 () {
install -d $PKG_DEST/usr/bin
install -m755 stat $PKG_DEST/usr/bin
install -d $PKG_DEST/usr/share/man
install -m644 stat.1 $PKG_DEST/usr/share/man/stat.1
}
|