From 644ac20e620d046ddba64d4cb6d4e2e5db4bf0f4 Mon Sep 17 00:00:00 2001 From: denes Date: Thu, 30 Aug 2018 20:12:07 +0200 Subject: [PATCH] Files and packages renamed to battery-status-led --- .../battery-status-led-0.1.ebuild} | 4 +- battery_status_led => battery-status-led | 0 ..._led.service => battery-status-led.service | 0 debian/package-deb.sh | 26 +++++------ redhat/package-rpm | 43 ++++++++++--------- 5 files changed, 38 insertions(+), 35 deletions(-) rename app-misc/{battery_status_led/battery_status_led-0.1.ebuild => battery-status-led/battery-status-led-0.1.ebuild} (93%) rename battery_status_led => battery-status-led (100%) rename battery_status_led.service => battery-status-led.service (100%) 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 <