From 1a229996c3bd26cc39e409fac83d29b3f5d5b17c Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 21 Feb 2022 21:39:04 +0000 Subject: added feh --- repo/apps/feh.xibuild | 21 +++++++++++++ repo/apps/rxvt-unicode.xibuild | 69 ++++++++++++++++++++++++++++++++++++++++++ repo/apps/xterm.xibuild | 41 +++++++++++++++++++++++++ repo/devel/go.xibuild | 40 ++++++++++++++++++++++++ repo/meta/all.xibuild | 2 +- repo/meta/apps.xibuild | 5 +++ repo/meta/devel.xibuild | 2 +- repo/meta/system.xibuild | 2 +- repo/meta/x11.xibuild | 2 +- repo/system/imlib2.xibuild | 21 +++++++++++++ repo/util/fzf.xibuild | 3 +- repo/x11/rxvt-unicode.xibuild | 36 ---------------------- repo/x11/xterm.xibuild | 41 ------------------------- 13 files changed, 203 insertions(+), 82 deletions(-) create mode 100644 repo/apps/feh.xibuild create mode 100644 repo/apps/rxvt-unicode.xibuild create mode 100644 repo/apps/xterm.xibuild create mode 100644 repo/devel/go.xibuild create mode 100644 repo/meta/apps.xibuild create mode 100644 repo/system/imlib2.xibuild delete mode 100644 repo/x11/rxvt-unicode.xibuild delete mode 100644 repo/x11/xterm.xibuild (limited to 'repo') diff --git a/repo/apps/feh.xibuild b/repo/apps/feh.xibuild new file mode 100644 index 0000000..e33ad4f --- /dev/null +++ b/repo/apps/feh.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(curl file imlib2 libexif libxinerama libpng) + +DESC="Fast and light imlib2-based image viewer" + +PKG_VER=3.8 +SOURCE=https://feh.finalrewind.org/feh-$PKG_VER.tar.bz2 + +prepare () { + sed -i "s:doc/feh:&-3.8:" config.mk +} + +build () { + make PREFIX=/usr +} + +package () { + make DESTDIR=$PKG_DEST PREFIX=/usr install +} diff --git a/repo/apps/rxvt-unicode.xibuild b/repo/apps/rxvt-unicode.xibuild new file mode 100644 index 0000000..ecf2df8 --- /dev/null +++ b/repo/apps/rxvt-unicode.xibuild @@ -0,0 +1,69 @@ +#!/bin/bash + +MAKEDEPS=(make ncurses) +DEPS=(libxft perl startup-notification libnsl libptytty) + +DESC="Unicode fork of rxvt terminal emulator" + +PKG_VER=9.30 +SOURCE=http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-$PKG_VER.tar.bz2 + + +build () { + export TERMINFO=/usr/share/terminfo + ./configure \ + --prefix=/usr \ + --enable-256-color \ + --enable-combining \ + --enable-fading \ + --enable-font-styles \ + --enable-iso14755 \ + --enable-keepscrolling \ + --enable-lastlog \ + --enable-mousewheel \ + --enable-next-scroll \ + --enable-perl \ + --enable-pointer-blank \ + --enable-rxvt-scroll \ + --enable-selectionscrolling \ + --enable-slipwheeling \ + --disable-smart-resize \ + --enable-startup-notification \ + --enable-transparency \ + --enable-unicode3 \ + --enable-utmp \ + --enable-wtmp \ + --enable-xft \ + --enable-xim \ + --enable-xterm-scroll \ + --disable-pixbuf \ + --with-terminfo \ + --disable-frills + make +} + +package () { + export TERMINFO="terminfo" + install -d "${TERMINFO}" + make DESTDIR=$PKG_DEST install + + install -dm 755 "$PKG_DEST/usr/share/applications" + cat > $PKG_DEST/usr/share/applications/urxvt.desktop << "EOF" +[Desktop Entry] +Encoding=UTF-8 +Name=Rxvt-Unicode Terminal +Comment=Use the command line +GenericName=Terminal +Exec=urxvt +Terminal=false +Type=Application +Icon=utilities-terminal +Categories=GTK;Utility;TerminalEmulator; +#StartupNotify=true +Keywords=console;command line;execute; +EOF + + install -dm 755 "${PKG_DEST}/usr/share/" + tic -o ${PKG_DEST}/usr/share/terminfo -s doc/etc/rxvt-unicode.terminfo + +} diff --git a/repo/apps/xterm.xibuild b/repo/apps/xterm.xibuild new file mode 100644 index 0000000..d4df24e --- /dev/null +++ b/repo/apps/xterm.xibuild @@ -0,0 +1,41 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libxft libxaw ncurses luit xbitmaps libutempter libxkbfile) + +DESC="X Terminal Emulator" + +PKG_VER=370 +SOURCE=https://invisible-mirror.net/archives/xterm/xterm-$PKG_VER.tgz + +prepare () { + sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap && + printf '\tkbs=\\177,\n' >> terminfo && + + export TERMINFO=/usr/share/terminfo +} + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + make DESTDIR=$PKG_DEST install-ti + + mkdir -pv $PKG_DEST/usr/share/applications && + cp -v *.desktop $PKG_DEST/usr/share/applications/ + + + mkdir -pv $PKG_DEST/etc/X11/app-defaults + cat >> $PKG_DEST/etc/X11/app-defaults/XTerm << "EOF" +*VT100*locale: true +*VT100*faceName: Monospace +*VT100*faceSize: 10 +*backarrowKeyIsErase: true +*ptyInitialErase: true +EOF + + +} diff --git a/repo/devel/go.xibuild b/repo/devel/go.xibuild new file mode 100644 index 0000000..3ba502d --- /dev/null +++ b/repo/devel/go.xibuild @@ -0,0 +1,40 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=() + +PKG_VER=1.17.7 +SOURCE=https://go.dev/dl/go$PKG_VER.src.tar.gz +DESC="Core compiler tools for the Go programming language" + +build () { + export GOARCH=amd64 + export GOAMD64=v1 # make sure we're building for the right x86-64 version + export GOROOT_FINAL=/usr/lib/go + export GOROOT_BOOTSTRAP=/usr/lib/go + + cd src + ./make.bash -v + cd .. +} + +package () { + install -d "$PKG_DEST/usr/bin" "$PKG_DEST/usr/lib/go" "$PKG_DEST/usr/share/doc/go" \ + "$PKG_DEST/usr/lib/go/pkg/linux_amd64_"{dynlink,race} + + cp -a bin pkg src lib misc api test "$PKG_DEST/usr/lib/go" + cp -r doc/* "$PKG_DEST/usr/share/doc/go" + + ln -sf /usr/lib/go/bin/go "$PKG_DEST/usr/bin/go" + ln -sf /usr/lib/go/bin/gofmt "$PKG_DEST/usr/bin/gofmt" + ln -sf /usr/share/doc/go "$PKG_DEST/usr/lib/go/doc" + + install -Dm644 VERSION "$PKG_DEST/usr/lib/go/VERSION" + + rm -rf "$PKG_DEST/usr/lib/go/pkg/bootstrap" "$PKG_DEST/usr/lib/go/pkg/tool/*/api" + + # TODO: Figure out if really needed + rm -rf "$PKG_DEST"/usr/lib/go/pkg/obj/go-build/* + + install -Dm644 LICENSE "$PKG_DEST/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/repo/meta/all.xibuild b/repo/meta/all.xibuild index 370a608..2440b46 100644 --- a/repo/meta/all.xibuild +++ b/repo/meta/all.xibuild @@ -2,4 +2,4 @@ # This file was automatically generated, do not edit! DESC="AlL tHe pacKageS!!" -DEPS=( asciidoc autoconf2-13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc gdb git help2man icecream-sundae icecream llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto encodings font-adobe-utopia-type1 font-alias font-bh-ttf font-bh-type1 fontconfig font-ibm-type1 font-misc-ethiopic font-util font-xfree86-type1 linux-firmware linux-headers linux cacert-utils fakechroot fakeroot acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext glibc glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss openssl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd acpi bash cpio curl dash diffutils dosfstools dracut e2fsprogs elfutils file fzf gawk genfstab grep groff htop inetutils iproute2 iw keyutils less lm-sensors lynx make-ca man-db neofetch nmap openssh pciutils pm-utils procps-ng rsync sudo unzip usbutils util-linux vim webfs wget which wireless-tools wpa_supplicant bspwm iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman rxvt-unicode sessreg setxkbmap smproxy sxhkd wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xterm xtrans xvinfo xwd xwininfo xwud sysconfigs xibuild xib xipkg xiutils) +DEPS=( feh rxvt-unicode xterm asciidoc autoconf2-13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc gdb git go help2man icecream-sundae icecream llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto encodings font-adobe-utopia-type1 font-alias font-bh-ttf font-bh-type1 fontconfig font-ibm-type1 font-misc-ethiopic font-util font-xfree86-type1 linux-firmware linux-headers linux cacert-utils fakechroot fakeroot acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext glibc glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu imlib2 intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss openssl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd acpi bash cpio curl dash diffutils dosfstools dracut e2fsprogs elfutils file fzf gawk genfstab grep groff htop inetutils iproute2 iw keyutils less lm-sensors lynx make-ca man-db neofetch nmap openssh pciutils pm-utils procps-ng rsync sudo unzip usbutils util-linux vim webfs wget which wireless-tools wpa_supplicant bspwm iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman sessreg setxkbmap smproxy sxhkd wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xtrans xvinfo xwd xwininfo xwud sysconfigs xibuild xib xipkg xiutils) diff --git a/repo/meta/apps.xibuild b/repo/meta/apps.xibuild new file mode 100644 index 0000000..d347342 --- /dev/null +++ b/repo/meta/apps.xibuild @@ -0,0 +1,5 @@ +#!/bin/bash +# This file was automatically generated, do not edit! + +DESC="All the the packages available in apps" +DEPS=( feh rxvt-unicode xterm) diff --git a/repo/meta/devel.xibuild b/repo/meta/devel.xibuild index 2cdeeb9..4869902 100644 --- a/repo/meta/devel.xibuild +++ b/repo/meta/devel.xibuild @@ -2,4 +2,4 @@ # This file was automatically generated, do not edit! DESC="All the the packages available in devel" -DEPS=( asciidoc autoconf2-13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc gdb git help2man icecream-sundae icecream llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto) +DEPS=( asciidoc autoconf2-13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc gdb git go help2man icecream-sundae icecream llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto) diff --git a/repo/meta/system.xibuild b/repo/meta/system.xibuild index 5b87396..f450bf6 100644 --- a/repo/meta/system.xibuild +++ b/repo/meta/system.xibuild @@ -2,4 +2,4 @@ # This file was automatically generated, do not edit! DESC="All the the packages available in system" -DEPS=( acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext glibc glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss openssl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd) +DEPS=( acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext glibc glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu imlib2 intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss openssl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd) diff --git a/repo/meta/x11.xibuild b/repo/meta/x11.xibuild index 4dbf5a2..f82bab6 100644 --- a/repo/meta/x11.xibuild +++ b/repo/meta/x11.xibuild @@ -2,4 +2,4 @@ # This file was automatically generated, do not edit! DESC="All the the packages available in x11" -DEPS=( bspwm iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman rxvt-unicode sessreg setxkbmap smproxy sxhkd wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xterm xtrans xvinfo xwd xwininfo xwud) +DEPS=( bspwm iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman sessreg setxkbmap smproxy sxhkd wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xtrans xvinfo xwd xwininfo xwud) diff --git a/repo/system/imlib2.xibuild b/repo/system/imlib2.xibuild new file mode 100644 index 0000000..ca859bc --- /dev/null +++ b/repo/system/imlib2.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libtiff giflib bzip2 freetype2 libxext libpng libid3tag libjpeg-turbo libwebp libheif librsvg xz) + +PKG_VER=1.8.0 +SOURCE=https://downloads.sourceforge.net/enlightenment/imlib2-$PKG_VER.tar.xz +DESC="Graphics library for fast file loading, saving, rendering and manipulation" + +build () { + ./configure --prefix=/usr --disable-static && + make + +} + +package () { + make DESTDIR=$PKG_DEST install + install -v -m755 -d /usr/share/doc/imlib2-$PKG_VER && + install -v -m644 doc/{*.gif,index.html} /usr/share/doc/imlib2-$PKG_VER + +} diff --git a/repo/util/fzf.xibuild b/repo/util/fzf.xibuild index 0915d48..f068792 100644 --- a/repo/util/fzf.xibuild +++ b/repo/util/fzf.xibuild @@ -4,7 +4,8 @@ MAKEDEPS=(git go) DEPS=(bash) PKG_VER=0.29.0 -SOURCE=https://github.com/junegunn/fzf/archive/refs/tags/$PKG_VER.tar.gz +SOURCE=https://github.com/junegunn/fzf.git +BRANCH=$PKG_VER DESC="Command-line fuzzy finder" prepare () { diff --git a/repo/x11/rxvt-unicode.xibuild b/repo/x11/rxvt-unicode.xibuild deleted file mode 100644 index 102f94c..0000000 --- a/repo/x11/rxvt-unicode.xibuild +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -MAKEDEPS=(make) -DEPS=(libxft perl startup-notification libnsl libptytty) - -DESC="Unicode fork of rxvt terminal emulator" - -PKG_VER=9.30 -SOURCE=http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-$PKG_VER.tar.bz2 - - -build () { - export TERMINFO=/usr/share/terminfo - ./configure --prefix=/usr --enable-everything - make -} - -package () { - make DESTDIR=$PKG_DEST install - install -dm 755 "$PKG_DEST/usr/share/applications" - cat > $PKG_DEST/usr/share/applications/urxvt.desktop << "EOF" -[Desktop Entry] -Encoding=UTF-8 -Name=Rxvt-Unicode Terminal -Comment=Use the command line -GenericName=Terminal -Exec=urxvt -Terminal=false -Type=Application -Icon=utilities-terminal -Categories=GTK;Utility;TerminalEmulator; -#StartupNotify=true -Keywords=console;command line;execute; -EOF - -} diff --git a/repo/x11/xterm.xibuild b/repo/x11/xterm.xibuild deleted file mode 100644 index d4df24e..0000000 --- a/repo/x11/xterm.xibuild +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -MAKEDEPS=(make) -DEPS=(libxft libxaw ncurses luit xbitmaps libutempter libxkbfile) - -DESC="X Terminal Emulator" - -PKG_VER=370 -SOURCE=https://invisible-mirror.net/archives/xterm/xterm-$PKG_VER.tgz - -prepare () { - sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap && - printf '\tkbs=\\177,\n' >> terminfo && - - export TERMINFO=/usr/share/terminfo -} - -build () { - ./configure $XORG_CONFIG - make -} - -package () { - make DESTDIR=$PKG_DEST install - make DESTDIR=$PKG_DEST install-ti - - mkdir -pv $PKG_DEST/usr/share/applications && - cp -v *.desktop $PKG_DEST/usr/share/applications/ - - - mkdir -pv $PKG_DEST/etc/X11/app-defaults - cat >> $PKG_DEST/etc/X11/app-defaults/XTerm << "EOF" -*VT100*locale: true -*VT100*faceName: Monospace -*VT100*faceSize: 10 -*backarrowKeyIsErase: true -*ptyInitialErase: true -EOF - - -} -- cgit v1.2.1