summaryrefslogtreecommitdiff
path: root/user/hexchat/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/hexchat/APKBUILD')
-rw-r--r--user/hexchat/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/hexchat/APKBUILD b/user/hexchat/APKBUILD
new file mode 100644
index 000000000..8ba05d268
--- /dev/null
+++ b/user/hexchat/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+pkgname=hexchat
+pkgver=2.14.3
+pkgrel=0
+pkgdesc="GTK-based IRC client"
+url="https://hexchat.org"
+arch="all"
+options="!check" # no tests
+license="GPL-2.0+ AND Custom:Expat AND LGPL-2.0+ AND LGPL-2.1+"
+depends=""
+makedepends="meson ninja
+ openssl-dev libproxy-dev libcanberra-dev dbus-glib-dev libnotify-dev
+ iso-codes-dev
+ lua5.3-dev perl-dev python3-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://dl.hexchat.net/hexchat/hexchat-$pkgver.tar.xz"
+builddir="$srcdir/hexchat-$pkgver"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dwith-lua=lua \
+ . output
+ ninja -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="c265921f2cb02c5d273bcdbb20a44a5c9f38b0f8cbba4fd56b177b676fc5d1dfd05bf80fcfa3706c7981f712f2f6c9aaaf80bccf3be0f6d96068dd393f3a7cb5 hexchat-2.14.3.tar.xz"