aboutsummaryrefslogtreecommitdiffstats
path: root/extra/screen/APKBUILD
blob: ffa48fa208054028aa6b2484fe3aef2b53a62b50 (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=0
pkgdesc="A window manager that multiplexes a physical terminal"
url="http://ftp.gnu.org/gnu/screen/"
license="GPL"
depends="uclibc ncurses"
makedepends=""
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 DESTDIR="$pkgdir" install

}

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