summaryrefslogtreecommitdiff
path: root/libs/sqlite/MAKEPKG
blob: 2db78b36a2fc96ab412345d99782bfe04e02cccd (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
#!/bin/mkpkg
# description: SQL database engine
# url: https://www.sqlite3.org/

name=sqlite
version=3.53.4
_amalgamation=3530400
release=1
depends=(readline ncurses zlib)
source=(https://www.sqlite.org/2026/sqlite-autoconf-$_amalgamation.tar.gz)
sha256sums=(
    "0e9483900e92cd5de8fd48d16bf9200145a61f7fd5be542a5ac81d8a9516eb9c"
)

build() {
    cd $name-autoconf-$_amalgamation

    ./configure \
        --prefix=/usr \
        --with-readline-cflags="-I/include" \
        --with-readline-ldflags="-L/lib -lreadline -lncurses" \
        --fts3 \
        --fts4 \
        --fts5


    make
    make DESTDIR=$PKG install

    rm -f $PKG/usr/lib/*.la
}

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

# vim: filetype=sh