52 lines
1.3 KiB
Bash
52 lines
1.3 KiB
Bash
# Template file for 'irssi'
|
|
pkgname=irssi
|
|
version=1.2.2
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --with-proxy --enable-true-color --with-otr"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel libressl-devel ncurses-devel libgcrypt-devel libotr-devel"
|
|
depends="ca-certificates"
|
|
conf_files="/etc/irssi.conf"
|
|
short_desc="Secure and modular IRC client with text mode user interface"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.irssi.org"
|
|
distfiles="https://github.com/irssi/irssi/releases/download/${version}/irssi-${version}.tar.gz"
|
|
checksum=53182861d4d2be6db35fa7e3f0524a64d2a54a374307574dab5f5362bfea563c
|
|
|
|
LDFLAGS="-lncursesw"
|
|
subpackages="irssi-devel irssi-otr"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
configure_args+=" --with-perl=module"
|
|
subpackages+=" irssi-perl"
|
|
makedepends+=" perl"
|
|
fi
|
|
|
|
irssi-perl_package() {
|
|
depends="irssi"
|
|
short_desc+=" - perl support"
|
|
pkg_install() {
|
|
vmove usr/lib/perl5
|
|
vmove "usr/lib/irssi/modules/*perl*"
|
|
vmove usr/share/irssi/scripts
|
|
}
|
|
}
|
|
|
|
irssi-otr_package() {
|
|
depends="irssi"
|
|
short_desc+=" - OTR support"
|
|
pkg_install() {
|
|
vmove "usr/lib/irssi/modules/*otr*"
|
|
}
|
|
}
|
|
|
|
irssi-devel_package() {
|
|
depends="${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|