aboutsummaryrefslogblamecommitdiffstats
path: root/community/xterm/APKBUILD
blob: bbdf95c6fa8629a485cce808a7ff17882b409c09 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
                                              
             
          
        
                             
                                  

                                       
             
                                               
                          
                                                                 
                         

         




























                                           
                                         
                                      

                               


           
                                      


                                                                                  

 
                                                                                                                                                           
                                                                                                                                                   
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=xterm
pkgver=346
pkgrel=0
pkgdesc="X Terminal Emulator"
options="!check" # Requires vttest
url="http://invisible-island.net/xterm"
arch="all"
license="MIT"
makedepends="libxaw-dev libxft-dev ncurses-dev"
subpackages="$pkgname-doc"
source="ftp://ftp.invisible-island.net/xterm/$pkgname-$pkgver.tgz
	posix-ptys.patch"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-x \
		--disable-full-tgetent \
		--disable-imake \
		--enable-ansi-color \
		--enable-88-color \
		--enable-256-color \
		--enable-broken-osc \
		--enable-broken-st \
		--enable-load-vt-fonts \
		--enable-i18n \
		--enable-wide-chars \
		--enable-doublechars \
		--enable-warnings \
		--enable-tcap-query \
		--enable-logging \
		--enable-dabbrev \
		--enable-freetype \
		--enable-luit \
		--enable-mini-luit \
		--enable-narrowproto \
		--enable-exec-xterm \
		--enable-sixel-graphics \
		--with-tty-group=tty \
		--with-utempter
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -m755 -d "$pkgdir"/usr/share/applications
	install -m644 "$builddir"/xterm.desktop "$pkgdir"/usr/share/applications/
	install -m644 "$builddir"/uxterm.desktop "$pkgdir"/usr/share/applications/
}

sha512sums="ef0db8132a88b8bd980343007a61ca3c4c1b7ece23ef8e72245a17fa8305fa4dfed9cdf0613d8daf60da53fb8b03d41acd22aee04f2d51aeffb4a340268f51f7  xterm-346.tgz
03722dc3ebe8067a1edf4673ce2e5132832e52818f4e122bfbd3846a4ebf0ca25bea999d98455b87ec572931becbbb0432e22c75b0fb5371a81c8acf0c4e9f98  posix-ptys.patch"