generated from general-packages/pika-pkg-template
test
This commit is contained in:
parent
9b7d5f0d8f
commit
425024f9aa
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,5 +1,5 @@
|
|||||||
upstream-name (1.0-101pika1) pika; urgency=medium
|
sbctl (0.15.4-101pika1) pika; urgency=low
|
||||||
|
|
||||||
* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>
|
* Initial release.
|
||||||
|
|
||||||
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
|
-- cybik <root@cybik.moe> Fri, 13 Sep 2024 13:38:39 -0700
|
||||||
|
23
debian/control
vendored
23
debian/control
vendored
@ -1,19 +1,14 @@
|
|||||||
Source: upstream-name
|
Source: sbctl
|
||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: name <email>
|
Maintainer: cybik <root@cybik.moe>
|
||||||
Standards-Version: 4.6.1
|
Standards-Version: 4.6.1
|
||||||
Build-Depends: debhelper-compat (= 13)
|
Build-Depends:
|
||||||
Rules-Requires-Root: no
|
debhelper-compat (= 13), asciidoc, golang-go
|
||||||
|
Rules-Requires-Root: yes
|
||||||
|
|
||||||
Package: pkgname1
|
Package: sbctl
|
||||||
Architecture: linux-any
|
Architecture: linux-any
|
||||||
# Delete any of these lines if un-used
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
Depends: ${misc:Depends}, depends
|
Provides: sbctl
|
||||||
Recommends: high priority optdepends
|
Description: SecureBoot Manager toolkit
|
||||||
Conflicts: conflicts
|
|
||||||
Suggests: low priority optdepends
|
|
||||||
Breaks: also conflicts!?
|
|
||||||
Provides: provides
|
|
||||||
#
|
|
||||||
Description: pkgdesc
|
|
||||||
|
17
main.sh
17
main.sh
@ -6,21 +6,26 @@ set -e
|
|||||||
|
|
||||||
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
||||||
|
|
||||||
VERSION="1.0"
|
VERSION="0.15.4"
|
||||||
|
|
||||||
# Clone Upstream
|
# Clone Upstream
|
||||||
mkdir -p ./src-pkg-name
|
UPSTREAM_NAME="sbctl"
|
||||||
cp -rvf ./debian ./src-pkg-name/
|
|
||||||
cd ./src-pkg-name/
|
git clone https://github.com/Foxboron/sbctl.git "${UPSTREAM_NAME}"
|
||||||
|
cp -rvf ./debian ./${UPSTREAM_NAME}/
|
||||||
|
|
||||||
|
# Get in there.
|
||||||
|
pushd "./${UPSTREAM_NAME}/" || exit 1
|
||||||
|
|
||||||
# Get build deps
|
# Get build deps
|
||||||
LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
LOGNAME=root dh_make --createorig -y -l -p ${UPSTREAM_NAME}_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
||||||
apt-get build-dep ./ -y
|
apt-get build-dep ./ -y
|
||||||
|
|
||||||
# Build package
|
# Build package
|
||||||
dpkg-buildpackage --no-sign
|
dpkg-buildpackage --no-sign
|
||||||
|
|
||||||
|
popd || exit 2
|
||||||
|
|
||||||
# Move the debs to output
|
# Move the debs to output
|
||||||
cd ../
|
|
||||||
mkdir -p ./output
|
mkdir -p ./output
|
||||||
mv ./*.deb ./output/
|
mv ./*.deb ./output/
|
||||||
|
Loading…
Reference in New Issue
Block a user