diff options
Diffstat (limited to 'testing/weechat')
-rw-r--r-- | testing/weechat/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/weechat/APKBUILD b/testing/weechat/APKBUILD new file mode 100644 index 000000000..6350bbd97 --- /dev/null +++ b/testing/weechat/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: +# Maintainer: Leonardo Arena <rnalrd@alpine.linux.org> +pkgname=weechat +pkgver=0.3.6 +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" +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 build + cd build +# ./configure --prefix=/usr \ +# --sysconfdir=/etc \ +# --mandir=/usr/share/man \ +# --infodir=/usr/share/info \ +# --disable-nls +# make || return 1 + cmake .. -DPREFIX=/usr +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir/" install +} + +md5sums="f130af1f858919fd446561faeaaf555e weechat-0.3.6.tar.gz" |