CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
tar: fixed identation and cleaned up
authorJose V Beneyto <sepen@crux.nu>
Thu, 10 Dec 2009 16:48:41 +0000 (17:48 +0100)
committerJose V Beneyto <sepen@crux.nu>
Thu, 10 Dec 2009 16:48:41 +0000 (17:48 +0100)
tar/Pkgfile

index 6a0d825880c582dca3f737dcfa7f584ea12bf3c0..35f3455e4a8c3e6cc11bb77a1151214fe930a71d 100644 (file)
@@ -1,7 +1,8 @@
 # Description: GNU tar
 # URL: http://www.gnu.org/software/tar/tar.html
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System
+# Arch Maintainer: CRUX-ARM System, crux-arm at mikeux dot dyndns dot org
+# Depends on:
 
 name=tar
 version=1.22
@@ -10,16 +11,18 @@ source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
         $name-rootp.patch tar.1 rmt.8)
 
 build() {
-    cd $name-$version
-    patch -p1 -i $SRC/$name-rootp.patch
-    ./configure --build=$CHOST \
-               --host=$CTARGET \
-               --prefix= \
-               --libexec=/usr/lib/tar \
-               --disable-nls
-    make
-    make DESTDIR=$PKG install
-    rm -rf $PKG/{sbin,share}
-    install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1
-    install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8
+  cd $name-$version
+  patch -p1 -i $SRC/$name-rootp.patch
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix= \
+              --libexec=/usr/lib/tar \
+              --disable-nls
+  make
+  make DESTDIR=$PKG install
+
+  rm -rf $PKG/{sbin,share}
+  install -D -m 644 $SRC/tar.1 $PKG/usr/man/man1/tar.1
+  install -D -m 644 $SRC/rmt.8 $PKG/usr/man/man8/rmt.8
 }