summaryrefslogtreecommitdiff
path: root/libs/libedit/MAKEPKG
blob: 8d24de0bc9eb95fed83d4b1c363b8b141b725881 (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
36
37
38
39
40
#!/bin/mkpkg
# description: Command line editor library (BSD editline)
# url: https://thrysoee.dk/editline

# license: BSD-3-Clause

name=libedit
version=20260512-3.1
_version=20260512-3.1
release=1
source=(https://thrysoee.dk/editline/libedit-$_version.tar.gz)
depends=(ncurses)
makedeps=()

sha256sums=(
    "432d5e7ea8b0116dd39f2eca7bc11d0eed77faa6b77ea526ace89907c23ea4a0"
)

build() {
    export CFLAGS="$CFLAGS -D__STDC_ISO_10646__=201206L"

    cd $name-$_version

    ./configure \
        --prefix=/usr \
        --disable-static

    make
    make DESTDIR=$PKG install

    # Remove docs
    rm -rf $PKG/usr/share/doc
}

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

# vim: filetype=sh