summaryrefslogtreecommitdiff
path: root/core/sed/MAKEPKG
blob: bba215a7df77c2402669a4a2ad801c6a1a1699e4 (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
26
27
28
29
30
31
32
33
34
35
#!/bin/mkpkg
# description: GNU stream editor
# url: https://www.gnu.org/software/sed/

name=sed
version=4.10
release=1
depends=(acl)
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

sha256sums=(
    "b8e72182b2ec96a3574e2998c47b7aaa64cc20ce000d8e9ac313cc07cecf28c7"
)

build() {
    cd $name-$version

    ./configure \
        --prefix=/ \
        --bindir=/bin \
        --mandir=/usr/share/man \
        --disable-nls

    make
    make install DESTDIR=$PKG

    rm -rf $PKG/share
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh