git: syntax
This commit is contained in:
parent
058b63add2
commit
2075385be5
@ -1,7 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/VwBwRyL5fQcNdoOjtMpOTUX60wnvS2in3QmsdKEVlKChTeFkPP/dFVb8J/QqICkJk6StH64u8U/HxovNKbysQ4=
|
||||
SHA256 (Pkgfile) = eb144ea18472929f43d28e58443a787397baefeb9915d69a4842f02fdc70c168
|
||||
SHA256 (.footprint) = ccad48e846f99cd6b958d4aad72a9a6f9df0d57fa8a133e504ffc331bdc1c5f7
|
||||
RWSE3ohX2g5d/eGERlFlSwlbsT8Tn+W9IxOKt1d18s62D//xNi6gnTufq4UoXUVl2lO91f7EaaP3Wz3YUIhse6SvJ6YbsyvEkwU=
|
||||
SHA256 (Pkgfile) = 0989aa62e7cb5e5ab74deb1bcf87b4b6ffaa5938f1e5b6c7381313b0bd5eb69d
|
||||
SHA256 (.footprint) = 9b65da2494ad4e9034ca26fcf06b82b80c3fae4445a70979da8bdce7def50e35
|
||||
SHA256 (git-2.34.1.tar.xz) = 3a0755dd1cfab71a24dd96df3498c29cd0acd13b04f3d08bf933e81286db802c
|
||||
SHA256 (git-manpages-2.34.1.tar.xz) = 9c635dd772ff21bcc4b7bab9f0de0dd01afb34b0eda3c83907e026bd3b3c7eb8
|
||||
SHA256 (git) = 432108f8c5f5abeb429cab25181b43ee42060d46fa7fbe7e4b02790b56f61e8a
|
||||
|
38
git/Pkgfile
38
git/Pkgfile
@ -8,32 +8,32 @@ name=git
|
||||
version=2.34.1
|
||||
release=1
|
||||
source=(https://www.kernel.org/pub/software/scm/git/git-{,manpages-}$version.tar.xz
|
||||
git gitd.rc)
|
||||
git gitd.rc)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
cd $name-$version
|
||||
|
||||
make CFLAGS="$CFLAGS" \
|
||||
prefix=/usr \
|
||||
gitexecdir=/usr/lib/git-core \
|
||||
INSTALLSITEMAN3DIR=/usr/share/man/man3 \
|
||||
perllibdir=$(perl -e 'use Config; print $Config::Config{'installsitelib'}') \
|
||||
DESTDIR=$PKG install
|
||||
make CFLAGS="$CFLAGS" \
|
||||
prefix=/usr \
|
||||
gitexecdir=/usr/lib/git-core \
|
||||
INSTALLSITEMAN3DIR=/usr/share/man/man3 \
|
||||
perllibdir=$(perl -e 'use Config; print $Config::Config{'installsitelib'}') \
|
||||
DESTDIR=$PKG install
|
||||
|
||||
prt-get isinst bash-completion && install -Dm644 contrib/completion/git-completion.bash $PKG/usr/share/bash-completion/completions/git
|
||||
prt-get isinst bash-completion && install -Dm644 contrib/completion/git-completion.bash $PKG/usr/share/bash-completion/completions/git
|
||||
|
||||
cd $SRC
|
||||
cd $SRC
|
||||
|
||||
for i in man*; do
|
||||
install -d $PKG/usr/share/man/$i
|
||||
install -m 644 $i/* $PKG/usr/share/man/$i;
|
||||
done
|
||||
for i in man*; do
|
||||
install -d $PKG/usr/share/man/$i
|
||||
install -m 644 $i/* $PKG/usr/share/man/$i;
|
||||
done
|
||||
|
||||
find $PKG \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
rm -rf $PKG/usr/share/{locale,gitk}
|
||||
find $PKG \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
rm -rf $PKG/usr/share/{locale,gitk}
|
||||
|
||||
# install the git ports driver
|
||||
install -Dm755 $SRC/git $PKG/etc/ports/drivers/git
|
||||
# install the git ports driver
|
||||
install -Dm755 $SRC/git $PKG/etc/ports/drivers/git
|
||||
|
||||
install -D $SRC/gitd.rc $PKG/etc/rc.d/gitd
|
||||
install -D $SRC/gitd.rc $PKG/etc/rc.d/gitd
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user