CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: updated mandir
[crossrootfs.git] / patch / Pkgfile
index b16336f408317ad5e16b48e0d507904ec4538b0b..317f106d3d8113f9aaa19e3ad4db74011a55259c 100644 (file)
@@ -1,18 +1,20 @@
 # Description: GNU patch
 # URL: http://www.gnu.org/software/patch/patch.html
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
 
 name=patch
-version=2.5.9
+version=2.7.5
 release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
 
 build() {
-    cd $name-$version
-    ./configure --build=$CHOST \
-               --host=$CTARGET \
-               --prefix=/usr
-    make
-    make prefix=$PKG/usr install
+  cd $name-$version
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr
+
+  make
+  make DESTDIR=$PKG install
 }