summaryrefslogtreecommitdiffstats
path: root/screen/Pkgfile
blob: b107e0c4264443414223f99deb4f1199af7d53eb (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
# Description: Permet la manipulation des consoles non-graphiques
# URL: ftp://ftp.gnu.org/gnu/screen/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libelf
# Run on: libelf

name=screen
version=4.0.3
release=2
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
	cd $name-$version
	./configure --prefix=/usr \
	--mandir=/usr/share/man
	sed -i "s@/usr/etc@/etc@" config.h
	make
	make DESTDIR=$PKG install
	rm $PKG/usr/info/dir
	mv $PKG/usr/info \
	$PKG/usr/share/
}