You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
486 B
16 lines
486 B
4 years ago
|
#!/usr/bin/env bash
|
||
|
# Where I keep the sources
|
||
|
BASEDIR=~/sources
|
||
|
# Version of swayswitch
|
||
|
VERSION=$(cat ${BASEDIR}/swayswitch/VERSION)
|
||
|
|
||
|
# Change to source dir
|
||
|
cd ${BASEDIR}/swayswitch
|
||
|
|
||
|
# Build deb
|
||
|
dpkg-buildpackage -us -uc
|
||
|
|
||
|
# Add binary and source to repo
|
||
|
reprepro --basedir ${BASEDIR}/repo/debian includedeb unstable ${BASEDIR}/swayswitch_${VERSION}_all.deb
|
||
|
reprepro --basedir ${BASEDIR}/repo/debian -S utils --priority optional includedsc unstable ${BASEDIR}/swayswitch_${VERSION}.dsc
|