CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: updated mandir
[crossrootfs.git] / man-db / Pkgfile
index 6fb2a84d97e8331ce4937ec51c488e1bda177b98..5b17af1b6f632a37548314da541f77c02461f546 100644 (file)
@@ -5,7 +5,7 @@
 # Depends on: libpipeline
 
 name=man-db
-version=2.6.7
+version=2.7.5
 release=1
 source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \
         mandb.cron)
@@ -19,21 +19,15 @@ build() {
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man \
               --libexecdir=/usr/lib/$name \
               --disable-setuid \
               --disable-nls
 
   make
   make DESTDIR=$PKG install
-  rm -r $PKG/usr/share
 
-  # zsoelim conflicts with groff
-  rm $PKG/usr/bin/zsoelim \
-    $PKG/usr/man/man1/zsoelim.1
+  rm -r $PKG/usr/lib/tmpfiles.d
 
-  mkdir -p $PKG/var/cache/man
-
-  install -D -o root -g root -m 0755 $SRC/mandb.cron \
-    $PKG/etc/cron/daily/mandb
+  install -d $PKG/var/cache/man
+  install -D -o root -g root -m 0755 $SRC/mandb.cron $PKG/etc/cron/daily/mandb
 }