<commit_before>#!/bin/sh

VERSION=`sed -n "s/^pkgver=\(.*\)/\1/p" PKGBUILD`
BUILD_DIRECTORY=`ls ../ | tail -n1`
ARCHIVE_BASE=$BUILD_DIRECTORY-$VERSION
ARCHIVE=$ARCHIVE_BASE.tar.gz

cd ..
mv $BUILD_DIRECTORY $ARCHIVE_BASE
tar -zcf $ARCHIVE $ARCHIVE_BASE

cp $ARCHIVE_BASE/PKGBUILD .

SHASUM=`sha512sum $ARCHIVE | awk '{print $1;}'`
sed "s/%SHA512SUM%/$SHASUM/g" -i PKGBUILD

chgrp -R nobody $ARCHIVE_BASE
chmod -R g+ws $ARCHIVE_BASE
sudo -u nobody makepkg<commit_msg>Revert "fix archlinux build"<commit_after>#!/bin/sh

VERSION=`sed -n "s/^pkgver=\(.*\)/\1/p" PKGBUILD`
BUILD_DIRECTORY=`ls ../ | tail -n1`
ARCHIVE_BASE=$BUILD_DIRECTORY-$VERSION
ARCHIVE=$ARCHIVE_BASE.tar.gz

cd ..
mv $BUILD_DIRECTORY $ARCHIVE_BASE
tar -zcf $ARCHIVE $ARCHIVE_BASE

cp $ARCHIVE_BASE/PKGBUILD .

SHASUM=`sha512sum $ARCHIVE | awk '{print $1;}'`
sed "s/%SHA512SUM%/$SHASUM/g" -i PKGBUILD

chgrp -R nobody .
chmod -R g+ws .
pacman-db-upgrade
sudo -u nobody makepkg
{'fraction_non_alphanumeric': 0.16790648246546228, 'fraction_numerical': 0.019128586609989374, 'mean_word_length': 4.640718562874252, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4966210', 'n_tokens_mistral': 420, 'n_tokens_neox': 401, 'n_words': 83}