summaryrefslogblamecommitdiff
path: root/user/hexchat/APKBUILD
blob: 9ee927d14d7b86ca9431dd5f763b33a466f827ce (plain) (tree)
1
2

                                                 

































                                                                                                                                                                    
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@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"