aboutsummaryrefslogtreecommitdiffstats
path: root/main/weechat/APKBUILD
blob: ebe976aa133bd4aac51691140b669548b24f22c8 (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=weechat
pkgver=1.2
pkgrel=0
pkgdesc="A fast, light, extensible ncurses-based chat client"
url="http://www.weechat.org"
arch="all"
license="GPL3+"
depends=""
depends_dev="cmake libintl ncurses-dev gnutls-dev libgcrypt-dev
		lua-dev aspell-dev perl-dev python-dev curl-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.weechat.org/files/src/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	mkdir -p build
	cd build
	cmake .. -DPREFIX=/usr || return 1
}

package() {
	cd "$_builddir"/build
	make DESTDIR="$pkgdir/" install || return 1
}

md5sums="7e561d9093af164c2ab32634ece0e0ef  weechat-1.2.tar.gz"
sha256sums="0f9b00e3fe4d0a4e864111d4231e1756f7be5c1b2b6d17da43bd785ab9f035d8  weechat-1.2.tar.gz"
sha512sums="178dcebb6c8bb3843b6eb0927d4941fbc73a75464f33afcf0c211a4a2e7aa3492a7f4e67ef17f5ac610d56bab27f9b508f5bfc3f22512f3594e0c067c4c89e71  weechat-1.2.tar.gz"