python/plaso: Add missing data files.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Barry J. Grundy 2022-05-25 08:31:51 +01:00 committed by Willy Sudiarto Raharjo
parent 18245d5ce9
commit be054284f1
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 5 additions and 1 deletions

View File

@ -22,12 +22,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Updated Build version 20220428, May 2022
# - Build 2: added missing data files
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=plaso
VERSION=${VERSION:-20220428}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -90,6 +91,9 @@ cp -a ACKNOWLEDGEMENTS AUTHORS LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION/
# Remove duplicated docs in /usr/share/doc
rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Copy data files into /usr/share/$PRGNAM
mkdir -p $PKG/usr/share/$PRGNAM
cp -a data/. $PKG/usr/share/$PRGNAM/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc