forked from extern/zsync
add build-package
This commit is contained in:
parent
b63c3c3924
commit
fe7f2753c9
19
build-package
Normal file
19
build-package
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
version=$1
|
||||||
|
package=bashclub-zsync
|
||||||
|
|
||||||
|
deb_package=${package}_${version}_all.deb
|
||||||
|
|
||||||
|
echo "$(date) creating DEBIBAN/control..."
|
||||||
|
cat << EOF > $package/DEBIAN/control
|
||||||
|
Package: $package
|
||||||
|
Version: $version
|
||||||
|
Architecture: all
|
||||||
|
Essential: no
|
||||||
|
Priority: optional
|
||||||
|
Depends: openssh-server, proxmox-ve, zfs-auto-snapshot, zfsutils-linux
|
||||||
|
Maintainer: bashclub
|
||||||
|
Description: The deb package for $package $version maintained from bashclub.
|
||||||
|
EOF
|
||||||
|
|
||||||
|
dpkg-deb --build $package $deb_package
|
Loading…
Reference in New Issue
Block a user