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





                                       
                                               
                          
                                                                
                         
                                   

         
                      



































                                           
                      
                                                  

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

build() {
	cd "$builddir"
	./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 \
		--with-tty-group=tty \
		--with-utempter \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="3c32e931adcad44e64e57892e75d9e02  xterm-327.tgz
9a6939a624949287671ca076f5b92543  posix-ptys.patch"
sha256sums="66fb2f6c35b342148f549c276b12a3aa3fb408e27ab6360ddec513e14376150b  xterm-327.tgz
c90d715cb7667ac91fd2697caaf1abce70e46ca0cf14eabf5e17dc305e3cb84c  posix-ptys.patch"
sha512sums="d9d9f3b870fea8db9ae3c076a9d85152488b2d392b9b1e2e4ebbeded287ed4911f1f63e5e035d5b3793b2506b993125c6fca437393b435a28aeb519d76147672  xterm-327.tgz
03722dc3ebe8067a1edf4673ce2e5132832e52818f4e122bfbd3846a4ebf0ca25bea999d98455b87ec572931becbbb0432e22c75b0fb5371a81c8acf0c4e9f98  posix-ptys.patch"