From 9da0d8d70f745811e19e235751e5999c3c80e7a8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 24 Jul 2018 00:05:30 -0500 Subject: user/hexchat: bump to 2.14.1, move to experimental/ We can't build this until a gettext-tiny issue is fixed.[1] [1]: https://github.com/sabotage-linux/gettext-tiny/issues/36 --- experimental/hexchat/APKBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 experimental/hexchat/APKBUILD (limited to 'experimental/hexchat') diff --git a/experimental/hexchat/APKBUILD b/experimental/hexchat/APKBUILD new file mode 100644 index 000000000..29119ddfb --- /dev/null +++ b/experimental/hexchat/APKBUILD @@ -0,0 +1,57 @@ +# Maintainer: +pkgname=hexchat +pkgver=2.14.1 +pkgrel=0 +pkgdesc="Popular and easy to use graphical IRC (chat) client" +url="https://hexchat.github.io" +arch="all" +license="GPL-2.0+" +depends="" +makedepends="dbus-glib-dev glib-dev gtk+2.0-dev iso-codes-dev libcanberra-dev + libnotify-dev libproxy-dev libsexy-dev meson ninja openssl-dev + perl-dev pciutils-dev python3-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-perl:_perl + $pkgname-py:_python" +source="https://dl.hexchat.net/hexchat/hexchat-$pkgver.tar.xz" + +prepare() { + cd "$builddir" + default_prepare + mkdir -p _build +} + +build() { + cd "$builddir"/_build + meson -Dprefix=/usr -Dwith-lua=false + ninja +} + +check() { + cd "$builddir"/_build + ninja test +} + +package() { + cd "$builddir"/_build + DESTDIR="$pkgdir" ninja install +} + +_perl() { + pkgdesc="Perl plugin for HexChat" + depends="$pkgname=$pkgver-r$pkgrel" + install_if="$pkgname=$pkgver-r$pkgrel perl" + mkdir -p "$subpkgdir"/usr/lib/hexchat/plugins + mv "$pkgdir"/usr/lib/hexchat/plugins/perl.so \ + "$subpkgdir"/usr/lib/hexchat/plugins +} + +_python() { + pkgdesc="Python plugin for HexChat" + depends="$pkgname=$pkgver-r$pkgrel" + install_if="$pkgname=$pkgver-r$pkgrel perl3" + mkdir -p "$subpkgdir"/usr/lib/hexchat/plugins + mv "$pkgdir"/usr/lib/hexchat/plugins/python.so \ + "$subpkgdir"/usr/lib/hexchat/plugins +} + +sha512sums="2728d6f084530c1a65ddb7960db6574fef2bca77e726a2155c8b5724256f37b47421e990b1bf7c9fad7987027b2f6de4534a8df28a98cb3d28da726e16ac32dd hexchat-2.14.1.tar.xz" -- cgit v1.2.3-60-g2f50