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

MAKEDEPS=(make )
DEPS=(glibc acl attr)

PKG_VER=4.8
SOURCE=https://ftp.gnu.org/gnu/sed/sed-$PKG_VER.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-$PKG_VER
    install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-$PKG_VER
}