Compare commits
3 Commits
c76b9cf7b5
...
460f8c14bc
Author | SHA1 | Date | |
---|---|---|---|
460f8c14bc | |||
eb3d11895e | |||
fa38977813 |
@ -34,6 +34,9 @@ function build_git_repo()
|
|||||||
sed -e "s/VERSION_PLACEHOLDER/$VERSION_CHANGELOG/g" -i ./debian/changelog
|
sed -e "s/VERSION_PLACEHOLDER/$VERSION_CHANGELOG/g" -i ./debian/changelog
|
||||||
DATE_CHANGELOG=$(date -R)
|
DATE_CHANGELOG=$(date -R)
|
||||||
sed -e "s/DATE_PLACEHOLDER/$DATE_CHANGELOG/g" -i ./debian/changelog
|
sed -e "s/DATE_PLACEHOLDER/$DATE_CHANGELOG/g" -i ./debian/changelog
|
||||||
|
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
dpkg-buildpackage --no-sign
|
dpkg-buildpackage --no-sign
|
||||||
cp -a ../*.deb "$TARGET_DIR"/
|
cp -a ../*.deb "$TARGET_DIR"/
|
||||||
}
|
}
|
||||||
|
14
build/looqs/build
Executable file
14
build/looqs/build
Executable 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"
|
||||||
|
|
5
build/looqs/debian/changelog
Normal file
5
build/looqs/debian/changelog
Normal 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
|
12
build/looqs/debian/control
Normal file
12
build/looqs/debian/control
Normal 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
|
4
build/looqs/debian/looqs.install
Normal file
4
build/looqs/debian/looqs.install
Normal 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
5
build/looqs/debian/rules
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
1
build/looqs/debian/source/format
Normal file
1
build/looqs/debian/source/format
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (native)
|
17
update_repo
17
update_repo
@ -3,12 +3,19 @@ set -u
|
|||||||
source ./CONFIG
|
source ./CONFIG
|
||||||
mkdir -p repo/dists
|
mkdir -p repo/dists
|
||||||
mkdir -p repo/pool
|
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
|
cd repo
|
||||||
dpkg-scanpackages -a amd64 pool > ./dists/default/main/binary-amd64/Packages
|
|
||||||
cd dists/default/
|
for distro in $(ls dists) ; do
|
||||||
apt-ftparchive -c ../../../repo.conf release . > Release
|
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
|
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"
|
rsync -aAXPv --delete repo/ "$TARGET_SERVER":"$TARGET_PATH"
|
||||||
ssh "$TARGET_SERVER" chown -R "$TARGET_OWNER" "$TARGET_PATH"
|
ssh "$TARGET_SERVER" chown -R "$TARGET_OWNER" "$TARGET_PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user