summaryrefslogtreecommitdiff
path: root/devel/swig/MAKEPKG
blob: 5793cf9bafa473a5b6aabb882918de7998b004c1 (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
#!/bin/mkpkg
# description: Interface compiler connecting C/C++ with scripting languages
# url: https://www.swig.org

name=swig
version=4.5.1
release=1
makedeps=(bison pcre2)
source=(https://downloads.sourceforge.net/sourceforge/swig/swig-$version.tar.gz)
sha256sums=(
    "7fec50b27deddab5455a9633780b6341eddfb96215a7619e93a76eb27178f653"
)

build() {
    cd $name-$version

    ./configure \
        --prefix=/usr \
        --without-alllang \
        --with-python3

    make $MKPKG_MAKEFLAGS

    make DESTDIR=$PKG install
}

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

# vim: filetype=sh