blob: 81ec5c1fed23a12d823e767e1e372f735114b170 (
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.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 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="fd584c258aace2aa898f40e1fcf06084 weechat-0.4.2.tar.gz"
sha256sums="3bb9964ef776183adab9513b7e3662170039aaccab21eb71cfbeac494694d70f weechat-0.4.2.tar.gz"
sha512sums="4a40e9de5d510f6fb181581763fccea10c4bbda26eeec3f6cda47f0864b3c01f180b004e0b7613d472f24ee246de585be0164212ddcc6271983718aa2a7be6a4 weechat-0.4.2.tar.gz"
|