462e-fonts/build.sh

12 lines
363 B
Bash

#!/bin/sh
set -e
PKG=462e-fonts
VERSION=$(sed -n 's/^Version: //p' $PKG/DEBIAN/control)
DEB="${PKG}_${VERSION}_all.deb"
rm -f "$DEB"
dpkg-deb --build --root-owner-group "$PKG/" "$DEB"
dpkg-deb -I "$DEB" | sed -n '1,10p'
ssh debrepo -C '(F="$(mktemp)"; cat > $F; reprepro --ignore=extension -Vb /srv/debian/ -C system includedeb 462eng $F; rm -f "$F")' < "$DEB"