initial commit
Šī revīzija ir iekļauta:
6
build/CHANGELOG_TEMPLATE
Parasts fails
6
build/CHANGELOG_TEMPLATE
Parasts fails
@ -0,0 +1,6 @@
|
||||
NAME_PLACEHOLDER (VERSION_PLACEHOLDER) unstable; urgency=medium
|
||||
|
||||
* Generated package for VERSION_PLACEHOLDER.
|
||||
|
||||
-- quitesimple.org repo management department ;-) <repo@quitesimple.org> DATE_PLACEHOLDER
|
||||
|
14
build/adhocify/build
Izpildāmais fails
14
build/adhocify/build
Izpildāmais fails
@ -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="_auto_"
|
||||
BUILDDIR=$(mktemp -d)
|
||||
OUTPUT_DIR="$1"
|
||||
|
||||
build_git_repo "$BUILDDIR" "https://gitea.quitesimple.org/crtxcr/adhocify" adhocify "$TAG" "$OUTPUT_DIR"
|
||||
|
1
build/adhocify/debian/adhocify.install
Parasts fails
1
build/adhocify/debian/adhocify.install
Parasts fails
@ -0,0 +1 @@
|
||||
adhocify /usr/bin/
|
5
build/adhocify/debian/changelog
Parasts fails
5
build/adhocify/debian/changelog
Parasts fails
@ -0,0 +1,5 @@
|
||||
adhocify (1.0) unstable; urgency=medium
|
||||
|
||||
* Initial Release.
|
||||
|
||||
-- quitesimple.org repo management department ;-) <repo@quitesimple.org> Tue, 18 Aug 2020 18:17:03 +0200
|
16
build/adhocify/debian/control
Parasts fails
16
build/adhocify/debian/control
Parasts fails
@ -0,0 +1,16 @@
|
||||
Source: adhocify
|
||||
Section: unknown
|
||||
Priority: optional
|
||||
Maintainer: quitesimple.org repo management department ;-) <repo@quitesimple.org>
|
||||
Build-Depends: debhelper-compat (= 12)
|
||||
Standards-Version: 4.4.1
|
||||
Homepage: <https://gitea.quitesimple.org/crtxcr/adhocify>
|
||||
|
||||
Package: adhocify
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Executes commands upon file system events
|
||||
This tool allows watching filesystem paths for certain events,
|
||||
such as writes, deletions etc. The user specifies commands which
|
||||
should be executed when those events occur. It utilizes the
|
||||
inotify API to do so.
|
8
build/adhocify/debian/rules
Izpildāmais fails
8
build/adhocify/debian/rules
Izpildāmais fails
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
make release
|
||||
|
||||
override_dh_auto_install:
|
1
build/adhocify/debian/source/format
Parasts fails
1
build/adhocify/debian/source/format
Parasts fails
@ -0,0 +1 @@
|
||||
3.0 (native)
|
34
build/functions.bash
Parasts fails
34
build/functions.bash
Parasts fails
@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
function newest_git_tag()
|
||||
{
|
||||
git tag --sort="-version:refname" | head -n 1
|
||||
}
|
||||
|
||||
function build_git_repo()
|
||||
{
|
||||
BUILDDIR="$1"
|
||||
REPOURL="$2"
|
||||
NAME="$3"
|
||||
VERSION="$4"
|
||||
TARGET_DIR="$5"
|
||||
cp -R debian "$BUILDDIR"
|
||||
cp ../CHANGELOG_TEMPLATE "$BUILDDIR"/debian/changelog
|
||||
cd "$BUILDDIR"
|
||||
git clone "$REPOURL" "$NAME"
|
||||
cd "$NAME"
|
||||
if [ "$VERSION" = "_auto_" ] ; then
|
||||
VERSION=$(newest_git_tag)
|
||||
fi
|
||||
|
||||
git verify-tag "$VERSION"
|
||||
git checkout "$VERSION"
|
||||
mv ../debian/ .
|
||||
VERSION_CHANGELOG=$( echo $VERSION | sed -e 's/v//g')
|
||||
sed -e "s/NAME_PLACEHOLDER/$NAME/g" -i ./debian/changelog
|
||||
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
|
||||
dpkg-buildpackage --no-sign
|
||||
cp -a ../*.deb "$TARGET_DIR"/
|
||||
}
|
Atsaukties uz šo jaunā problēmā
Block a user