aboutsummaryrefslogtreecommitdiffstats
path: root/main/screen/APKBUILD
blob: bcf2849a5efe0ae54ece56148bd9ee06c47f0ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer:
pkgname=screen
pkgver=4.0.3
pkgrel=4
pkgdesc="A window manager that multiplexes a physical terminal"
url="http://ftp.gnu.org/gnu/screen/"
arch="all"
license="GPL"
depends=
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/screen/$pkgname-$pkgver.tar.gz
	$pkgname-$pkgver.patch"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	for i in ../*.patch; do
		msg "Applying $i"
		patch -p1 < $i || return 1
	done

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
	make -j1 DESTDIR="$pkgdir" install

	install -Dm644 etc/etcscreenrc "$pkgdir"/etc/screenrc || return 1
	install -Dm644 etc/screenrc "$pkgdir"/etc/skel/.screenrc || return 1
}

md5sums="8506fd205028a96c741e4037de6e3c42  screen-4.0.3.tar.gz
243e18daf4b2bbff898fdf0d772fad52  screen-4.0.3.patch"