summaryrefslogtreecommitdiff
path: root/repo/weechat/weechat.xibuild
blob: 506218cd32940cfb46488c4e74871f0cb1321df0 (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 gnupg"

PKG_VER=3.6
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
}