# Contributor: Michael Mason # Contributor: Natanael Copa # Maintainer: Dan Theisen pkgname=screen pkgver=5.0.0 pkgrel=0 pkgdesc="A window manager that multiplexes a physical terminal" url="https://ftp.gnu.org/gnu/screen/" arch="all" options="!check" # No test suite. license="GPL-3.0+" depends="" makedepends="ncurses-dev utmps-dev libutempter-dev linux-pam-dev" subpackages="$pkgname-doc" source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz missing-header.patch " build() { LIBS="-lutmps -lskarnet" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-utmp make } package() { make -j1 DESTDIR="$pkgdir" install # remove suid root find "$pkgdir" -type f -perm -u+s -print0 \ | xargs -0 chmod -s install -Dm644 etc/etcscreenrc "$pkgdir"/etc/screenrc install -Dm644 etc/screenrc "$pkgdir"/etc/skel/.screenrc } sha512sums="18a163313025c58950ec65fa83037ba1df0fa8e2346925593217fb0a6596f2f51914a4f0aec7f0e1c280d3d3ef964e7a886521f41f4b96f4ff08935be7f62117 screen-5.0.0.tar.gz b698b28177362b2f078b01d8ea51d4b9061f5663c6b2f4d5c89dac506f6b035c33cc505c5c84d8a38ee48e3ab202fc15d4c90dff1baf5368b4ddf128f4ae9556 missing-header.patch"