summaryrefslogblamecommitdiff
path: root/user/rdesktop/APKBUILD
blob: 4a67f7c6f6cbc5426bd3ccfb3e626bd831cd1bfb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
            
        





                                        

                                                                            
                          
                                                                                                

           

                         


         
                          





                                         
                                   



            



                  


                                      
                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rdesktop
pkgver=1.9.0
pkgrel=0
pkgdesc="Remote Desktop Protocol client"
url="https://www.rdesktop.org/"
arch="all"
options="!check"  # No test suite.
license="GPL-3.0-only"
depends=""
makedepends="alsa-lib-dev krb5-dev libice-dev libsamplerate-dev libtasn1-dev
	libx11-dev libxcursor-dev libxrandr-dev nettle-dev gnutls-dev bash"
subpackages="$pkgname-doc"
source="https://github.com/rdesktop/rdesktop/releases/download/v$pkgver/rdesktop-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	bash ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-smartcard
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e101147b496ae70118c2756bf120007d4748aad9d9917d9ebc0878ffaf35764500861c548ef0528722777555c78e1d3d146b6f3691daa2b8657b0d3a541094f5  rdesktop-1.9.0.tar.gz"