mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-19 15:41:51 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=screen
|
|
pkgver=4.6.2
|
|
pkgrel=0
|
|
pkgdesc="A window manager that multiplexes a physical terminal"
|
|
url="http://ftp.gnu.org/gnu/screen/"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
options="!check" # No test suite.
|
|
makedepends="ncurses-dev ncurses"
|
|
subpackages="$pkgname-doc"
|
|
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--enable-colors256
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
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="224bd16ad5ae501d1b8bb7d2ba9cc19e6a0743de5a5b320109c2f6bf3b1ca564cc7094ed9211be13733d9d769cde77d13fe236341d448cad0518038ab1e85c99 screen-4.6.2.tar.gz"
|