void-packages/srcpkgs/irssi/irssi-perl.template

24 lines
573 B
Plaintext
Raw Normal View History

# Template file for 'irssi-perl'.
#
short_desc="${sourcepkg} perl support"
long_desc="${long_desc}
This package contains the modules to enable perl support with the
irssi package, and related perl scripts included."
revision=2
Add_dependency run irssi
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/irssi/modules
mkdir -p ${DESTDIR}/usr/share/irssi
mv ${SRCPKGDESTDIR}/usr/lib/perl5 ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/irssi/modules/*perl* \
${DESTDIR}/usr/lib/irssi/modules
mv ${SRCPKGDESTDIR}/usr/share/irssi/scripts \
${DESTDIR}/usr/share/irssi
}