mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 01:23:51 +02:00
parent
377baa64be
commit
8fbaf95664
3 changed files with 13 additions and 23 deletions
|
@ -1,5 +0,0 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
tic -s usr/share/terminfo/r/rxvt-unicode.terminfo
|
||||
;;
|
||||
esac
|
|
@ -1,6 +0,0 @@
|
|||
case "${ACTION}" in
|
||||
pre)
|
||||
rm -f usr/share/terminfo/r/rxvt-unicode
|
||||
rm -f usr/share/terminfo/r/rxvt-unicode-256color
|
||||
;;
|
||||
esac
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'rxvt-unicode'
|
||||
pkgname=rxvt-unicode
|
||||
version=9.22
|
||||
revision=9
|
||||
revision=10
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--with-terminfo=/usr/share/terminfo --enable-256-color
|
||||
|
@ -13,7 +13,7 @@ configure_args="
|
|||
$(vopt_if perl '--enable-perl' '--disable-perl')
|
||||
$(vopt_if startup_notification '--enable-startup-notification' '--disable-startup-notification')
|
||||
$(vopt_if unicode3 '--enable-unicode3' '--disable-unicode3')"
|
||||
hostmakedepends="pkg-config $(vopt_if perl 'perl autoconf')"
|
||||
hostmakedepends="pkg-config $(vopt_if perl 'perl autoconf') ncurses"
|
||||
makedepends="xorgproto fontconfig-devel libXrender-devel libXft-devel libSM-devel
|
||||
$(vopt_if gdk_pixbuf gdk-pixbuf-devel)
|
||||
$(vopt_if perl perl)
|
||||
|
@ -27,16 +27,6 @@ homepage="http://software.schmorp.de/pkg/rxvt-unicode.html"
|
|||
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd
|
||||
|
||||
pre_build() {
|
||||
sed -i 's,tic,/bin/true,g' doc/Makefile
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall doc/etc/rxvt-unicode.terminfo 644 usr/share/terminfo/r
|
||||
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
|
||||
}
|
||||
|
||||
# Package build options
|
||||
build_options="gdk_pixbuf perl startup_notification unicode3"
|
||||
desc_option_unicode3="Use 21 instead of 16 bits to represent unicode chars"
|
||||
|
@ -74,6 +64,17 @@ do_configure() {
|
|||
fi
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
export TERMINFO="${DESTDIR}/usr/share/terminfo"
|
||||
mkdir -p $TERMINFO
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall doc/etc/rxvt-unicode.terminfo 644 usr/share/terminfo/r
|
||||
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||||
vinstall ${FILESDIR}/${pkgname}.png 644 usr/share/pixmaps
|
||||
}
|
||||
|
||||
rxvt-unicode-terminfo_package() {
|
||||
short_desc+=" - terminfo data"
|
||||
archs=noarch
|
||||
|
|
Loading…
Add table
Reference in a new issue