[conty-bin] binary is conty
This commit is contained in:
parent
010c650c2f
commit
befafe9833
1 changed files with 2 additions and 17 deletions
|
@ -25,7 +25,7 @@ mkdir -p $REPOSITORY
|
||||||
rm -fr $PKG
|
rm -fr $PKG
|
||||||
|
|
||||||
mkdir -p $PKG$PREFIX/bin
|
mkdir -p $PKG$PREFIX/bin
|
||||||
cp $REPOSITORY/conty${EDITION}-${VERSION}.sh $PKG$PREFIX/bin/${PRGNAM}
|
cp $REPOSITORY/conty${EDITION}-${VERSION}.sh $PKG$PREFIX/bin/conty
|
||||||
|
|
||||||
cd $PKG$PREFIX/bin/
|
cd $PKG$PREFIX/bin/
|
||||||
cat <<EOF > steam
|
cat <<EOF > steam
|
||||||
|
@ -46,7 +46,7 @@ Name=Steam
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
for prg in wine winetricks lutris playonlinux4; do
|
for prg in wine winetricks lutris playonlinux4; do
|
||||||
ln -s ${PRGNAM} $prg
|
ln -s conty $prg
|
||||||
cat <<EOF > $PKG$PREFIX/share/applications/$prg.desktop
|
cat <<EOF > $PKG$PREFIX/share/applications/$prg.desktop
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
|
@ -60,21 +60,8 @@ done
|
||||||
|
|
||||||
chmod +x $PKG$PREFIX/bin/*
|
chmod +x $PKG$PREFIX/bin/*
|
||||||
|
|
||||||
( cd $PKG
|
|
||||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
|
||||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat <<EOF > $PKG/install/slack-desc
|
cat <<EOF > $PKG/install/slack-desc
|
||||||
# HOW TO EDIT
|
|
||||||
THIS FILE:
|
|
||||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
|
||||||
# up the first '|' above the ':' following the base package name, and the '|'
|
|
||||||
# on the right side marks the last column you can put a character in. You must
|
|
||||||
# make exactly 11 lines for the formatting to be correct. It's also
|
|
||||||
# customary to leave one space after the ':'.
|
|
||||||
|
|
||||||
|-----handy-ruler--------------------------------------------------------|
|
|-----handy-ruler--------------------------------------------------------|
|
||||||
$PRGNAM: $PRGNAM (Easy to use non-root container packed into a single executable)
|
$PRGNAM: $PRGNAM (Easy to use non-root container packed into a single executable)
|
||||||
$PRGNAM:
|
$PRGNAM:
|
||||||
|
@ -90,6 +77,4 @@ $PRGNAM:
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la
|
|
||||||
|
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION${EDITION}-$ARCH-$BUILD$TAG.txz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION${EDITION}-$ARCH-$BUILD$TAG.txz
|
||||||
|
|
Loading…
Reference in a new issue