diff --git a/app-misc/battery_status_led/battery_status_led-0.1.ebuild b/app-misc/battery-status-led/battery-status-led-0.1.ebuild similarity index 93% rename from app-misc/battery_status_led/battery_status_led-0.1.ebuild rename to app-misc/battery-status-led/battery-status-led-0.1.ebuild index ef95a88..1e85e61 100644 --- a/app-misc/battery_status_led/battery_status_led-0.1.ebuild +++ b/app-misc/battery-status-led/battery-status-led-0.1.ebuild @@ -32,8 +32,8 @@ DOCS="README.md" src_install() { dodoc ${DOCS} - dobin battery_status_led - systemd_dounit battery_status_led.service + dobin battery-status-led + systemd_dounit battery-status-led.service } pkg_postinst() { diff --git a/battery_status_led b/battery-status-led similarity index 100% rename from battery_status_led rename to battery-status-led diff --git a/battery_status_led.service b/battery-status-led.service similarity index 100% rename from battery_status_led.service rename to battery-status-led.service diff --git a/debian/package-deb.sh b/debian/package-deb.sh index 2682dba..655b91a 100755 --- a/debian/package-deb.sh +++ b/debian/package-deb.sh @@ -17,14 +17,14 @@ # with battery_status_led. If not, see # https://www.gnu.org/licenses/gpl-3.0.html. +NAME="battery-status-led" VERSION="0.1-1" -rm -rf build* -mkdir -p build/batterystatusled_${VERSION}/DEBIAN -# cp control build/batterystatusled_${VERSION}/DEBIAN/control +rm -rf build* +mkdir -p build/${NAME}_${VERSION}/DEBIAN -cat > build/batterystatusled_${VERSION}/DEBIAN/control < build/${NAME}_${VERSION}/DEBIAN/control < build/battery_status_led.spec < build/${NAME}.spec <