aboutsummaryrefslogtreecommitdiffstats
path: root/main/weechat/APKBUILD
blob: bcd52263c9b5e4e1d53a55107f3d7e2e81933582 (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.1
pkgrel=0
pkgdesc="A fast, light, extensible ncurses-based chat client"
url="http://www.weechat.org"
arch="all"
license="GPL3+"
depends=""
depends_dev="cmake libiconv-dev 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="aa1fae1341da400332a66c877af3f44f  weechat-1.1.tar.gz"
sha256sums="83f378b07037c147c5bda8d53bfa58149d21ec436e34da5aba75dae714b6f9c3  weechat-1.1.tar.gz"
sha512sums="165b7f24b4d01a300ca06b11b6bb048547033cc8b5604fe000bb553c850dcb87b40f388d8623c3be96bca9e0d9135f6bec2dfb61e06a239227f55eaae7078a46  weechat-1.1.tar.gz"