smlinux/net/irssi/smbuild
PktSurf f14cfce65d Added doinst.sh to net/irssi to preserve /etc/irssi.conf
Discarded old patch and added a new one to net/wireless-tools and fixed its build file
2024-11-01 21:11:19 +05:30

37 lines
818 B
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=irssi
version=1.2.2
build=1sml
homepage="https://irssi.org"
download="https://github.com/irssi/irssi/archive/refs/tags/$version.tar.gz"
desc="Modular, expandable text-mode IRC client"
requires="netbsd-curses glib openssl perl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
LDFLAGS="-lcurses -lterminfo" \
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mv $pkg/etc/irssi.conf $pkg/etc/irssi.conf.new
mkfinalpkg
}
sha512sums="
1f11728a5fe521a4dcad90e8d6414f1980e5c3584b5356b049d850ac9c1c7a82a19886dc688b3df2079d5e69da99c0634bb0a2cb2217b52f866cc2868b2ed0f9 irssi-1.2.2.tar.lz
"