Initial import: sources, staging packages, build scripts and CI workflow
This commit is contained in:
Executable
+31
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
CONTROL_FILE=$(ls -1 *.control)
|
||||
|
||||
echo "Using control file $CONTROL_FILE"
|
||||
PACKAGE_NAME=$(awk '/^Package: /{print $NF}' $CONTROL_FILE)
|
||||
VERSION=$(awk '/^Version: /{print $NF}' $CONTROL_FILE)
|
||||
|
||||
|
||||
|
||||
|
||||
# tag git repo
|
||||
# git tag -f release-${VERSION}
|
||||
|
||||
echo "Building package $PACKAGE_NAME ($VERSION): $PACKAGE_NAME-${VERSION}_all.deb"
|
||||
# VERSION
|
||||
sed "s/{VERSION}/${VERSION}/" $PACKAGE_NAME.control > packaging/$PACKAGE_NAME/DEBIAN/control
|
||||
|
||||
#create debian package
|
||||
dpkg --build packaging/$PACKAGE_NAME $PACKAGE_NAME-${VERSION}_all.deb
|
||||
|
||||
# dpkg-sig -k 14AF7F05 --sign builder icosi-${VERSION}_all.deb
|
||||
|
||||
echo "clean up"
|
||||
rm packaging/$PACKAGE_NAME/DEBIAN/control
|
||||
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
Package: eendoe-repository
|
||||
Version: 1.0
|
||||
Section: utils
|
||||
Maintainer: Bart Meijer
|
||||
Architecture: all
|
||||
Depends:
|
||||
Description: Eendoe package repository
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
case "$1" in
|
||||
configure|abort-upgrade)
|
||||
|
||||
esac
|
||||
exit 0
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
case "$1" in
|
||||
install|upgrade)
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
#Eendoe APT package list
|
||||
|
||||
deb [arch=amd64] https://repository.eendoe.nl/ stable main
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#Eendoe APT package list
|
||||
|
||||
deb [arch=amd64] https://repository.eendoe.nl/ stable main
|
||||
|
||||
Reference in New Issue
Block a user