[hledger] don't remove "sources"

This commit is contained in:
Gwenhael Le Moine 2021-09-29 13:07:46 +02:00
parent ced9f9ade0
commit e113a900b4
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -28,7 +28,6 @@ rm -fr $PKG
mkdir -p $PKG$PREFIX/bin mkdir -p $PKG$PREFIX/bin
cd $PKG$PREFIX/bin cd $PKG$PREFIX/bin
unzip $REPOSITORY/hledger-linux-static-${SRC_ARCH}-${VERSION}.zip unzip $REPOSITORY/hledger-linux-static-${SRC_ARCH}-${VERSION}.zip
rm $REPOSITORY/hledger-linux-static-${SRC_ARCH}-${VERSION}.zip
mv hledger-linux-static-${SRC_ARCH} hledger mv hledger-linux-static-${SRC_ARCH} hledger
mv hledger-ui-linux-static-${SRC_ARCH} hledger-ui mv hledger-ui-linux-static-${SRC_ARCH} hledger-ui
mv hledger-web-linux-static-${SRC_ARCH} hledger-web mv hledger-web-linux-static-${SRC_ARCH} hledger-web
@ -36,7 +35,7 @@ chmod +x $PKG$PREFIX/bin/*
mkdir -p $PKG$PREFIX/doc/hledger/ mkdir -p $PKG$PREFIX/doc/hledger/
for d in $DOCS; do for d in $DOCS; do
mv $REPOSITORY/${d}.${VERSION} $PKG$PREFIX/doc/hledger/${d} cp $REPOSITORY/${d}.${VERSION} $PKG$PREFIX/doc/hledger/${d}
done done
mkdir -p $PKG/etc/rc.d/ mkdir -p $PKG/etc/rc.d/