opt/hexchat/Pkgfile
2016-12-16 15:33:25 +11:00

33 lines
676 B
Plaintext

# Description: GTK+ based IRC client.
# URL: http://hexchat.github.io/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
# Depends on: intltool iso-codes libnotify libsexy pciutils xorg-libxdamage
# Optional: enchant libcanberra lua
name=hexchat
version=2.12.4
release=1
source=(http://dl.hexchat.net/hexchat/$name-$version.tar.xz)
build() {
cd $name-$version
local LUA
if [ "$(pkginfo -i | grep '^lua ')" ]; then
LUA='--enable-lua'
else
LUA='--disable-lua'
fi
./configure \
--prefix=/usr \
--enable-python=python2 \
--enable-textfe $LUA
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/locale
}