drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/cpio
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/cpio.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/cpio.1.gz
-0548bdca8399df7755f0e4c4152e88cb cpio-2.11-stat.patch
-20fc912915c629e809f80b96b2e75d7d cpio-2.11.tar.bz2
+93eea9f07c0058c097891c73e4955456 cpio-2.12.tar.bz2
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=cpio
-version=2.11
-release=2
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
- cpio-2.11-stat.patch)
+version=2.12
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
-
- patch -p1 -i $SRC/cpio-2.11-stat.patch
- # fix for glibc 'gets' removal
- sed -i -e '/gets is a/d' gnu/stdio.in.h
-
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--disable-nls
make
make DESTDIR=$PKG install
-
- rm -r $PKG/usr/{share,libexec}
- rm $PKG/usr/man/man1/mt.1
+ rm -r $PKG/usr/{libexec,share/info}
+ rm -r $PKG/usr/share/man/man8
}