Compare commits

...

3 Commits

8 changed files with 56 additions and 5 deletions

View File

@ -34,6 +34,9 @@ function build_git_repo()
sed -e "s/VERSION_PLACEHOLDER/$VERSION_CHANGELOG/g" -i ./debian/changelog
DATE_CHANGELOG=$(date -R)
sed -e "s/DATE_PLACEHOLDER/$DATE_CHANGELOG/g" -i ./debian/changelog
git submodule init
git submodule update
dpkg-buildpackage --no-sign
cp -a ../*.deb "$TARGET_DIR"/
}

14
build/looqs/build Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
source ../functions.bash
if [ $# -ne 1 ] ; then
echo "Usage: $0 poolpath" 1>&2
exit 1
fi
set -e
TAG="v0.1rc3"
BUILDDIR=$(mktemp -d)
OUTPUT_DIR="$1"
build_git_repo "$BUILDDIR" "https://gitea.quitesimple.org/crtxcr/looqs" looqs "$TAG" "$OUTPUT_DIR"

View File

@ -0,0 +1,5 @@
looqs (v0.1) unstable; urgency=medium
* Initial Release.
-- quitesimple.org repo management department ;-) <repo@quitesimple.org> Fr 4. Feb 17:53:39 CET 2022

View File

@ -0,0 +1,12 @@
Source: looqs
Section: unknown
Priority: optional
Maintainer: quitesimple.org repo management department ;-) <repo@quitesimple.org>
Build-Depends: debhelper-compat (= 12), qtbase5-dev, libpoppler-qt5-dev, libuchardet-dev, libquazip5-dev
Standards-Version: 4.4.1
Homepage: <https://gitea.quitesimple.org/crtxcr/looqs>
Package: looqs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: FTS desktop search with previews

View File

@ -0,0 +1,4 @@
cli/looqs /usr/bin/
gui/looqs-gui /usr/bin/
looqs.svg /usr/share/icons/hicolor/scalable/apps/
looqs.desktop /usr/share/applications/

5
build/looqs/debian/rules Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_install:

View File

@ -0,0 +1 @@
3.0 (native)

View File

@ -3,12 +3,19 @@ set -u
source ./CONFIG
mkdir -p repo/dists
mkdir -p repo/pool
mkdir -p repo/dists/default/main/binary-amd64/
mkdir -p repo/dists/impish/main/binary-amd64/
mkdir -p repo/dists/jammy/main/binary-amd64/
cd repo
dpkg-scanpackages -a amd64 pool > ./dists/default/main/binary-amd64/Packages
cd dists/default/
apt-ftparchive -c ../../../repo.conf release . > Release
for distro in $(ls dists) ; do
dpkg-scanpackages -a amd64 pool/$distro > ./dists/$distro/main/binary-amd64/Packages
cd dists/$distro
apt-ftparchive -c ../../../repo.$distro.conf release . > Release
gpg -a --yes --clearsign --output InRelease --local-user "$SIGNING_KEY_EMAIL" --detach-sign Release
cd ../../../
cd ../../
done
cd ..
echo "Press key to upload"
read
rsync -aAXPv --delete repo/ "$TARGET_SERVER":"$TARGET_PATH"
ssh "$TARGET_SERVER" chown -R "$TARGET_OWNER" "$TARGET_PATH"