mdns-scan: fix installation path

Fixes https://github.com/termux/termux-packages/issues/8674.
This commit is contained in:
Henrik Grimler 2022-01-18 17:52:59 +01:00
parent 21672e9fba
commit b0d17bb59e
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
install: install:
- install mdns-scan $(DESTDIR)/usr/bin/mdns-scan - install mdns-scan $(DESTDIR)/usr/bin/mdns-scan
+ install mdns-scan $(DESTDIR)$(PREFIX)/mdns-scan + install mdns-scan $(DESTDIR)$(PREFIX)/bin/mdns-scan
clean: clean:
rm -f mdns-scan *.o *.tar.gz rm -f mdns-scan *.o *.tar.gz

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A tool for scanning for mDNS/DNS-SD services published o
TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.5 TERMUX_PKG_VERSION=0.5
TERMUX_PKG_REVISION=1 TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/alteholz/mdns-scan/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/alteholz/mdns-scan/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=fa830d91b993d15f8a463c8dd68f7106f0dded87928bec36074de934c2c52f73 TERMUX_PKG_SHA256=fa830d91b993d15f8a463c8dd68f7106f0dded87928bec36074de934c2c52f73
TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_AUTO_UPDATE=true