summaryrefslogtreecommitdiff
path: root/repo/weechat/weechat.xibuild
blob: f1a87f4fe1f54527624c58a0f83148154250a81d (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
#!/bin/sh

NAME="weechat"
DESC="A fast, light, extensible ncurses-based chat client"

MAKEDEPS="asciidoctor cmake gettext ncurses gnutls libgcrypt curl aspell lua perl python ruby zlib zstd"

PKG_VER=3.5
SOURCE="https://www.weechat.org/files/src/weechat-$PKG_VER.tar.gz"

build() {
	mkdir -p build
	cd build
	cmake .. \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DENABLE_TCL=OFF \
        -DENABLE_NLS=OFF \
		-DENABLE_GUILE=OFF \
		-DENABLE_JAVASCRIPT=OFF \
		-DENABLE_PHP=OFF
	make
}

package() {
	cd "$BUILD_ROOT"/build
	make DESTDIR="$PKG_DEST/" install
}