summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundyat>2022-05-25 08:31:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-28 09:11:36 +0700
commitbe054284f13765f8d164498b030fa913dd373717 (patch)
tree6c18b38041305d5251631452d1444829270a16ae /python
parent18245d5ce9b483b0e57d2805554427f17e6afdee (diff)
downloadslackbuilds-be054284f13765f8d164498b030fa913dd373717.tar.gz
python/plaso: Add missing data files.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/plaso/plaso.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/plaso/plaso.SlackBuild b/python/plaso/plaso.SlackBuild
index 1946ee1849..bea514befd 100644
--- a/python/plaso/plaso.SlackBuild
+++ b/python/plaso/plaso.SlackBuild
@@ -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