openwrt/packages/luci-theme-kornord/Makefile
Ivan Cherniy b7a12022e2 CI: build unsigned apks on tags, sign and publish locally
- .github/workflows/build.yml builds ocserv and AmneziaWG packages in the SDK images and
  attaches unsigned apks plus the SDK apk binary to a GitHub Release.
- make release TAG=vX downloads them, signs apks and the index with the key from KeePassXC
  (build/sign.sh in build/Dockerfile.sign) and pushes gh-pages.
- Signing in build.sh/build-awg.sh is optional (only if /keys/r4ven-apk.pem exists).
- Copy luci-theme-kornord into packages/ (MIT, LICENSE kept).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 00:23:39 +03:00

29 lines
707 B
Makefile

# SPDX-License-Identifier: Apache-2.0
include $(TOPDIR)/rules.mk
LUCI_TITLE:=Kornord Theme (Nord colors for Bootstrap)
LUCI_DEPENDS:=+luci-base
PKG_VERSION:=2.0.0
PKG_RELEASE:=1
PKG_LICENSE:=Apache-2.0
PKG_MAINTAINER:=Ivan Cherniy
define Package/luci-theme-kornord/postrm
#!/bin/sh
[ -n "$${IPKG_INSTROOT}" ] || {
current="$$(uci -q get luci.main.mediaurlbase)"
uci -q delete luci.themes.Kornord
uci -q delete luci.themes.KornordDark
uci -q delete luci.themes.KornordLight
case "$$current" in
/luci-static/kornord*) uci -q set luci.main.mediaurlbase=/luci-static/bootstrap ;;
esac
uci commit luci
}
endef
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature