blob: 1701bfacba9a8dc7e56e4697c1b9a35bf25b3522 (
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=1.0
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="2c79cb81d870f8f849dbd2bc8db8ba4f weechat-1.0.tar.gz"
sha256sums="7dc8f69736ead5e55c9e20870a8b3b83a7337fbd591372f149e6ba42b3e727fc weechat-1.0.tar.gz"
sha512sums="b3079e69c0c0c088cd0bbcdb4ba9c65224678bb2634f59fb773d37bfb44e0c91837b4c41afc282c365ea69cb154f7d6868afb54dc4a80de6c112c9438df9cf54 weechat-1.0.tar.gz"
|