From d8a93f2311d8f1715d172de1d6a5310469ef9cf7 Mon Sep 17 00:00:00 2001
From: Beginner <70857188+Beginner-Go@users.noreply.github.com>
Date: Sun, 13 Feb 2022 15:56:41 +0800
Subject: [PATCH] qBittorrent-static: cleanup makefile

---
 package/lean/qBittorrent-static/Makefile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/package/lean/qBittorrent-static/Makefile b/package/lean/qBittorrent-static/Makefile
index 27e7a2e15..ecd39b4a1 100644
--- a/package/lean/qBittorrent-static/Makefile
+++ b/package/lean/qBittorrent-static/Makefile
@@ -30,16 +30,16 @@ endif
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/$(PKG_NAME)
-	SECTION:=net
-	CATEGORY:=Network
-	DEPENDS:=@(arm||aarch64||x86_64)
-	SUBMENU:=BitTorrent
-	TITLE:=bittorrent client programmed in C++ / Qt
-	URL:=https://www.qbittorrent.org/
+define Package/qBittorrent-static
+  SECTION:=net
+  CATEGORY:=Network
+  DEPENDS:=@(arm||aarch64||x86_64)
+  SUBMENU:=BitTorrent
+  TITLE:=bittorrent client programmed in C++ / Qt
+  URL:=https://www.qbittorrent.org/
 endef
 
-define Package/$(PKG_NAME)/description
+define Package/qBittorrent-static/description
   qBittorrent is a bittorrent client programmed in C++ / Qt that uses
   libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
   It aims to be a good alternative to all other bittorrent clients out
@@ -57,10 +57,10 @@ endef
 define Build/Compile
 endef
 
-define Package/$(PKG_NAME)/install
+define Package/qBittorrent-static/install
 	$(INSTALL_DIR) $(1)/usr/bin
 	$(INSTALL_BIN) $(DL_DIR)/qbittorrent-nox $(1)/usr/bin
 endef
 
 $(eval $(call Download,qbittorrent))
-$(eval $(call BuildPackage,$(PKG_NAME)))
+$(eval $(call BuildPackage,qBittorrent-static))