[arch-general] git_patch

Laszlo Papp djszapi2 at gmail.com
Sun Aug 23 06:51:45 EDT 2009


On Sun, Aug 23, 2009 at 12:04 PM, Biru Ionut <biru.ionut at gmail.com> wrote:

> Laszlo Papp wrote:
>
>> Hello!
>>
>> I've attached a patch for git PKGBUILD. It has got a small extension to
>> install the contrib/ folder too, like in other distribution, e.g.
>> Ubuntu/Debian!
>>
>> I need for  it because of post-receive-email script to get notification
>> about commit.
>>
>> Best Regards,
>> Laszlo Papp
>>
>
> watch out at spelling
>
> $srcdir not $srcidr
>
> --
> Ionut
>

Hello!

Yeah sorry, I've uploaded a wrong patch, i choosed a wrong one while
uploading, really sorry.

--- PKGBUILD    2009-08-23 12:39:28.000000000 +0200
+++ PKGBUILD_new    2009-08-23 12:39:00.000000000 +0200
@@ -39,6 +39,8 @@

   # remove perllocal.pod, .packlist, and empty directories.
   rm -rf $pkgdir/usr/lib/perl5
+  install -m755 -d $pkgdir/usr/share/git-core
+  cp -a $srcdir/$pkgname-$pkgver/contrib $pkgdir/usr/share/git-core/contrib
|| return 1
 }

 md5sums=('bdc9b8be7d56a3beabad2d228f2e8e9a'

Best Regards,
Laszlo Papp


More information about the arch-general mailing list