CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
less: cleaned up
authorJose V Beneyto <sepen@crux.nu>
Mon, 14 Dec 2009 13:48:46 +0000 (14:48 +0100)
committerJose V Beneyto <sepen@crux.nu>
Mon, 14 Dec 2009 13:48:46 +0000 (14:48 +0100)
less/Pkgfile

index 542757c5b9346ca64359772ad557f0f3080a8206..5458f205f5160f9bf2dad394c6afee0970a6d956 100644 (file)
@@ -1,7 +1,7 @@
 # Description: A terminal based program for viewing text files
-# URL:         http://www.greenwoodsoftware.com/less/
-# Maintainer:  CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System
+# URL: http://www.greenwoodsoftware.com/less/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System, crux-arm at mikeux dot dyndns dot org
 # Depends on:  ncurses
 
 name=less
@@ -11,12 +11,14 @@ source=(http://www.greenwoodsoftware.com/less/$name-$version.tar.gz \
         filter)
 
 build() {
-    cd $name-$version
-    ./configure --build=$CHOST \
-               --host=$CTARGET \
-               --prefix=/usr \
-               --mandir=/usr/man
-    make
-    make DESTDIR=$PKG install
-    install -m 755 -D $SRC/filter $PKG/usr/lib/less/filter
+  cd $name-$version
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man
+
+  make
+  make DESTDIR=$PKG install
+  install -m 755 -D $SRC/filter $PKG/usr/lib/less/filter
 }