diff options
author | Thomas Penteker <tek@serverop.de> | 2012-06-20 21:27:55 +0200 |
---|---|---|
committer | Thomas Penteker <tek@serverop.de> | 2012-06-20 21:27:55 +0200 |
commit | dc9d5577ddae57bff1fbcdc3bf54fb86b62be91e (patch) | |
tree | a097ef194645076eebfe978b4b7a689dd5a2fbae /git | |
parent | e8c57eecf0ea5f1a882d3db8a244dc1134918988 (diff) | |
download | opt-dc9d5577ddae57bff1fbcdc3bf54fb86b62be91e.tar.gz opt-dc9d5577ddae57bff1fbcdc3bf54fb86b62be91e.tar.xz |
git: shorten Pkgfile, based on sepens hints, thx
Diffstat (limited to 'git')
-rw-r--r-- | git/.footprint | 7 | ||||
-rw-r--r-- | git/Pkgfile | 20 |
2 files changed, 10 insertions, 17 deletions
diff --git a/git/.footprint b/git/.footprint index ab98bd664..6389da6fb 100644 --- a/git/.footprint +++ b/git/.footprint @@ -199,6 +199,10 @@ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/Git/ -r--r--r-- root/root usr/lib/perl5/site_perl/5.12/Git/I18N.pm drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/Git/SVN/ -r--r--r-- root/root usr/lib/perl5/site_perl/5.12/Git/SVN/Editor.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.12/Git/SVN/Fetcher.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/Git/SVN/Memoize/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.12/Git/SVN/Memoize/YAML.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.12/Git/SVN/Prompt.pm -r--r--r-- root/root usr/lib/perl5/site_perl/5.12/Git/SVN/Ra.pm drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/auto/ @@ -380,6 +384,9 @@ drwxr-xr-x root/root usr/man/man3/ -r--r--r-- root/root usr/man/man3/Git.3pm.gz -r--r--r-- root/root usr/man/man3/Git::I18N.3pm.gz -r--r--r-- root/root usr/man/man3/Git::SVN::Editor.3pm.gz +-r--r--r-- root/root usr/man/man3/Git::SVN::Fetcher.3pm.gz +-r--r--r-- root/root usr/man/man3/Git::SVN::Memoize::YAML.3pm.gz +-r--r--r-- root/root usr/man/man3/Git::SVN::Prompt.3pm.gz -r--r--r-- root/root usr/man/man3/Git::SVN::Ra.3pm.gz drwxr-xr-x root/root usr/man/man5/ -rw-r--r-- root/root usr/man/man5/gitattributes.5.gz diff --git a/git/Pkgfile b/git/Pkgfile index ab2f23a80..eb873fa71 100644 --- a/git/Pkgfile +++ b/git/Pkgfile @@ -13,12 +13,8 @@ source=(https://git-core.googlecode.com/files/$name-{,manpages-}$version.tar.gz) build() { cd $name-$version - # install Error.pm. this pretty much sucks, but i'm too lazy to - # investigate whether there's a better way. - sed -i -e '34,35d' -e '37d' perl/Makefile.PL - make CFLAGS="$CFLAGS" prefix=/usr gitexecdir=/usr/lib/git-core \ - DESTDIR=$PKG install + INSTALLSITEMAN3DIR=/usr/man/man3 DESTDIR=$PKG install cd $SRC @@ -27,16 +23,6 @@ build() { install -m 644 $i/* $PKG/usr/man/$i; done - install -d $PKG/usr/man/man3 - find $PKG/usr/share/man/man3 -type f -exec mv '{}' $PKG/usr/man/man3 \; - - rmdir $PKG/usr/share/{man/man3,man} - - find $PKG -name perllocal.pod -delete - find $PKG -name .packlist -delete - - rm -rf $PKG/usr/share/gitk/lib/msgs - rmdir $PKG/usr/share/gitk/{lib,} - - rm -rf $PKG/usr/share/locale + find $PKG \( -name perllocal.pod -o -name .packlist \) -delete + rm -rf $PKG/usr/share/{locale,gitk} } |