mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 20:13:52 +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'
|
# Template file for 'rxvt-unicode'
|
||||||
pkgname=rxvt-unicode
|
pkgname=rxvt-unicode
|
||||||
version=9.22
|
version=9.22
|
||||||
revision=9
|
revision=10
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--with-terminfo=/usr/share/terminfo --enable-256-color
|
--with-terminfo=/usr/share/terminfo --enable-256-color
|
||||||
|
@ -13,7 +13,7 @@ configure_args="
|
||||||
$(vopt_if perl '--enable-perl' '--disable-perl')
|
$(vopt_if perl '--enable-perl' '--disable-perl')
|
||||||
$(vopt_if startup_notification '--enable-startup-notification' '--disable-startup-notification')
|
$(vopt_if startup_notification '--enable-startup-notification' '--disable-startup-notification')
|
||||||
$(vopt_if unicode3 '--enable-unicode3' '--disable-unicode3')"
|
$(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
|
makedepends="xorgproto fontconfig-devel libXrender-devel libXft-devel libSM-devel
|
||||||
$(vopt_if gdk_pixbuf gdk-pixbuf-devel)
|
$(vopt_if gdk_pixbuf gdk-pixbuf-devel)
|
||||||
$(vopt_if perl perl)
|
$(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"
|
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd
|
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
|
# Package build options
|
||||||
build_options="gdk_pixbuf perl startup_notification unicode3"
|
build_options="gdk_pixbuf perl startup_notification unicode3"
|
||||||
desc_option_unicode3="Use 21 instead of 16 bits to represent unicode chars"
|
desc_option_unicode3="Use 21 instead of 16 bits to represent unicode chars"
|
||||||
|
@ -74,6 +64,17 @@ do_configure() {
|
||||||
fi
|
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() {
|
rxvt-unicode-terminfo_package() {
|
||||||
short_desc+=" - terminfo data"
|
short_desc+=" - terminfo data"
|
||||||
archs=noarch
|
archs=noarch
|
||||||
|
|
Loading…
Add table
Reference in a new issue