Skip to content

Commit

Permalink
Don't rename actual package
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Apr 25, 2024
1 parent 69cf3b6 commit 3483057
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vendor/slack-notifier/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Package details
export VENDOR ?= cloudposse
export PACKAGE_EXE := slack-notifier
export PACKAGE_NAME = slack-notifier_v$(PACKAGE_VERSION)
export PACKAGE_NAME = slack-notifier
# PACKAGE_URL
# https://github.com/cloudposse/slack-notifier/releases/download/0.9.0/slack-notifier_0.9.0_linux_arm64.zip
export DOWNLOAD_URL = https://github.com/cloudposse/slack-notifier/releases/download/$(PACKAGE_VERSION)/$(PACKAGE_EXE)_$(PACKAGE_VERSION)_$(OS)_$(ARCH).zip
Expand All @@ -11,6 +11,7 @@ export APKBUILD_DEPENDS += libc6-compat

include ../../tasks/Makefile.vendor_includes

install: export PACKAGE_NAME = slack-notifier_v$(PACKAGE_VERSION)
install:
echo $(DOWNLOAD_URL)
$(call download_zip)
Expand All @@ -20,4 +21,4 @@ test:
# Custom post-package processing (Note the double colon to append to current inherited package/prepare task)
## This may be required for apk building
package/prepare::
mv src/$(PACKAGE_NAME) src/$(PACKAGE_EXE)
mv src/$(PACKAGE_NAME)_v$(PACKAGE_VERSION) src/$(PACKAGE_EXE)

0 comments on commit 3483057

Please sign in to comment.