--- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/devel2.txz/old/git-20170501/PlamoBuild.git-2.8.3 2017-05-01 02:38:50.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/software/scm/git/git-2.8.3.tar.gz + https://www.kernel.org/pub/software/scm/git/git-manpages-2.8.3.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/devel2.txz/git/git-set-file-times" verify= digest= commitid= -pkgbase= -vers= +pkgbase=git +vers=2.8.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL LGPL-2.1 README.md RelNotes command-list.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,15 +66,37 @@ make install DESTDIR=$P fi done + install $W/git-set-file-times $P/usr/libexec/git-core + find $P/usr/share/git-core/templates -exec touch {} \; + touch $P/usr/share/locale/*/LC_MESSAGES/git.mo $mandir/man3/* + cp -a $W/man[157] $mandir + chown -R root.root $mandir/man[157] touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec/git-core + touch -t `date '+%m%d0900'` $P/usr/libexec/git-core setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/git-core + tar rvpf $pkg.tar -C $P \ + usr/$libdir/perl5/site_perl/5.14.2/{Git,{Error,Git}.pm} + tar rvpf $pkg.tar -C $P \ + `cd $P + find usr/$libdir/perl5/site_perl/5.14.2/*-linux-thread-multi/auto \ + -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/perl5/5.14.2/*-linux-thread-multi | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/git-core + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/git{web,k,-gui} tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz