tig: New Port

This commit is contained in:
James Mills 2007-01-13 13:01:49 +10:00
parent 3ca4f6e8a6
commit e9072dd255
2 changed files with 10 additions and 16 deletions

View File

@ -1,8 +1,3 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/tig
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/tig.1.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/tigrc.5.gz

View File

@ -1,18 +1,17 @@
# Description: Repository browser for git
# URL: http://jonas.nitro.dk/tig/
# Maintainer: Mark Rosenstand, mark at borkware dot net
# Depends on: git, ncurses
# Description: text-mode interface for git
# URL: http://jonas.nitro.dk/tig/
# Maintainer: James Mills prologic at shortcircuit dot net dot au
# Packager: James Mills prologic at shortcircuit dot net dot au
#
# Depends on: ncurses, iconv
name=tig
version=0.5
release=1
source=(http://jonas.nitro.dk/tig/releases/tig-$version.tar.gz)
source=(http://jonas.nitro.dk/$name/releases/$name-$version.tar.gz)
build() {
cd tig-$version
make CFLAGS="$CFLAGS"
make DESTDIR=$PKG prefix=/usr install
mkdir -p $PKG/usr/man/man{1,5}
cp *.1 $PKG/usr/man/man1
cp *.5 $PKG/usr/man/man5
cd $name-$version
make prefix=/usr DESTDIR=$PKG install
chown -R root:root $PKG
}