summaryrefslogtreecommitdiffstats
path: root/extra/screen/Pkgfile
blob: 25a49dce5caae4832742bdcc6a2918568ed5e1e0 (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:

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/
}