aboutsummaryrefslogtreecommitdiffstats
path: root/main/weechat/APKBUILD
blob: 702e2a64eb0b37de43fd219af40d7b1b9831e72d (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=weechat
pkgver=0.4.3
pkgrel=1
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="2206cbc7ee66d0c219f25a5499973dd5  weechat-0.4.3.tar.gz"
sha256sums="bfb5a34f78eaad0e22e1aa0783ff330907f253fcd50a1d3fd0aa19df9114dde9  weechat-0.4.3.tar.gz"
sha512sums="82c506628b60884ac008a73059c8f75e7ee53e75883ea6586c755b7287ceff7c6640fe035315c9612156e6b42480a135a35c17f942fbeff18e12fc5eb1d7bd4d  weechat-0.4.3.tar.gz"