summaryrefslogtreecommitdiff
path: root/repo/system/sed.xibuild
blob: 0384f6cead5938a9e3743a200c6afe92d56a1ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

DEPS=(glibc acl attr)

SOURCE=https://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz
DESC="GNU stream editor"

build () {
    ./configure --prefix=/usr
    make
    make html
}

package () {
    make DESTDIR=$PKG_DEST install 

    install -d -m755    $PKG_DEST/usr/share/doc/sed-4.8
    install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-4.8
}