CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: cleaned up
authorJose V Beneyto <sepen@crux.nu>
Thu, 10 Dec 2009 14:29:04 +0000 (15:29 +0100)
committerJose V Beneyto <sepen@crux.nu>
Thu, 10 Dec 2009 14:29:04 +0000 (15:29 +0100)
sed/Pkgfile

index fc5dc4ff6502defb8c628b83cbcc3c11e92789da..c1ac616c7e90c13c5bef11664cbf52108fef8194 100644 (file)
@@ -1,7 +1,8 @@
 # Description: Sed - streams editor
 # URL: http://www.gnu.org/software/sed//sed.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=sed
 version=4.2.1
@@ -9,14 +10,17 @@ release=1
 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
 
 build() {
-    cd $name-$version
-    ./configure --build=$CHOST \
-               --host=$CTARGET \
-               --prefix=/usr \
-               --mandir=/usr/man \
-               --exec-prefix=/ \
-               --disable-nls
-    make
-    make DESTDIR=$PKG install
-    rm -r $PKG/usr/share
+  cd $name-$version
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man \
+              --exec-prefix=/ \
+              --disable-nls
+
+  make
+  make DESTDIR=$PKG install
+
+  rm -r $PKG/usr/share
 }