# Maintainer: Natanael Copa pkgname=rdesktop pkgver=1.8.3 pkgrel=5 pkgdesc="rdesktop is used to connect to windows terminal servers" url="https://www.rdesktop.org/" arch="all" license="GPL-3" subpackages="$pkgname-doc" depends= makedepends="linux-headers libx11-dev libao-dev openssl-dev libsamplerate-dev libgssglue-dev libxrandr-dev" source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz Fix-OpenSSL-1.1-compatibility-issues.patch Fix-crash-in-rdssl_cert_to_rkey.patch " builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$builddir" default_prepare update_config_sub } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-sound=ao \ --disable-smartcard make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="06b94ad3b09430b05e424ef31a3e6f2388190b4920e348603cb66a414244896e0dc8906b9f12920e9406cf153ffa7f6507b23bf6713c3a675c0540a8ef57902d rdesktop-1.8.3.tar.gz fdf39ee3a4bb97add9307b664a523d5a9edeb9cd3897e82e8fc081d447e843d48e82c4c5eddf52400d78988ff7076e3bc0ae05bc661b099fb952188ad0ef4795 Fix-OpenSSL-1.1-compatibility-issues.patch faa6de4d71d6b021d053ecf17bd2f718118185e6aaa3c146fb2e4b18a0188f410d8a3ba27f7288da70dbce4be6f40b9bf78bc4a1e456f11dd5feb13212b74c8d Fix-crash-in-rdssl_cert_to_rkey.patch"