blob: 7376cff92cb8a80c182ae9100146bc79a74bc38a (
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:
# Maintainer: Leonardo Arena <rnalrd@alpine.linux.org>
pkgname=weechat
pkgver=0.4.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 $pkgname-doc"
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="0601d6f3c41f445269e52d94333f676a weechat-0.4.1.tar.gz"
sha256sums="3c110a1397ab1f1e2a7cf80b8900e2c02ea01f80e4b09ef7954706916e05563f weechat-0.4.1.tar.gz"
sha512sums="6e29dd3f8f4710df393cb0d883b6355b2db455ffa9d061d1e5122a56198a420a8e85d1e0727179606e5c169dca3cc1abdc99c935191d005040c47be654bc586a weechat-0.4.1.tar.gz"
|