summaryrefslogtreecommitdiff
path: root/user/hexchat/APKBUILD
blob: 8ba05d2683777bc4ccb684a62339bf8f8566bfa1 (plain) (blame)
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
# 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"