aboutsummaryrefslogtreecommitdiffstats
path: root/main/screen/APKBUILD
blob: c5ab5f9f16802d45d496e2782d334a312c384d2e (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
# Contributor: Michael Mason <ms13sp@gmail.com> 
# Maintainer: 
pkgname=screen
pkgver=4.0.3
pkgrel=2
pkgdesc="A window manager that multiplexes a physical terminal"
url="http://ftp.gnu.org/gnu/screen/"
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
	make || return 1
	make -j1 DESTDIR="$pkgdir" install

}

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