aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2025-09-08 11:45:26 +0200
committerEgor Tensin <egor@tensin.name>2025-09-08 11:46:18 +0200
commit2b2d6a152de2ba6dd90fe0687d136e2eb6ccd989 (patch)
tree452dd1728bea59b2abe1102c109e02666a2d719c
parentaur: 0.2-1 (diff)
downloadgrub-reboot-into-windows-2b2d6a152de2ba6dd90fe0687d136e2eb6ccd989.tar.gz
grub-reboot-into-windows-2b2d6a152de2ba6dd90fe0687d136e2eb6ccd989.zip
split AUR-related stuff to the aur branch
-rw-r--r--.SRCINFO20
-rw-r--r--.gitattributes2
-rw-r--r--.gitignore3
-rw-r--r--Makefile19
-rw-r--r--PKGBUILD28
-rw-r--r--bin/.gitattributes1
-rwxr-xr-xbin/reboot-into-windows (renamed from reboot-into-windows)0
-rw-r--r--etc/sudoers (renamed from sudoers)0
-rw-r--r--prelude.mk23
-rw-r--r--share/icon.svg (renamed from icon.svg)0
-rw-r--r--share/reboot-into-windows.desktop (renamed from reboot-into-windows.desktop)0
11 files changed, 1 insertions, 95 deletions
diff --git a/.SRCINFO b/.SRCINFO
deleted file mode 100644
index c17c348..0000000
--- a/.SRCINFO
+++ /dev/null
@@ -1,20 +0,0 @@
-pkgbase = reboot-into-windows
- pkgdesc = Reboot into dual-booted Windows with a Bluetooth keyboard
- pkgver = 0.2
- pkgrel = 1
- arch = any
- license = MIT
- depends = bash
- depends = gawk
- depends = grep
- options = !debug
- source = reboot-into-windows
- source = reboot-into-windows.desktop
- source = icon.svg
- source = sudoers
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
-
-pkgname = reboot-into-windows
diff --git a/.gitattributes b/.gitattributes
index a2f2f07..176a458 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1 @@
* text=auto
-
-/reboot-into-windows text eol=lf
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 583cae5..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/src/
-/pkg/
-*.tar.zst
diff --git a/Makefile b/Makefile
deleted file mode 100644
index a21b0fe..0000000
--- a/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-include prelude.mk
-
-PKG_NAME := reboot-into-windows
-
-.PHONY: all
-all: build
-
-.PHONY: build
-build:
- makepkg --clean --cleanbuild --force --syncdeps && makepkg --printsrcinfo > .SRCINFO
-
-.PHONY: commit
-commit:
- git add .SRCINFO
- source ./PKGBUILD && git commit -am "aur: $$pkgver-$$pkgrel"
-
-.PHONY: push
-push:
- git push 'ssh://aur@aur.archlinux.org/$(call escape,$(PKG_NAME)).git' "$$( git symbolic-ref HEAD ):master"
diff --git a/PKGBUILD b/PKGBUILD
deleted file mode 100644
index b601d8c..0000000
--- a/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Maintainer: Egor Tensin <egor@tensin.name>
-pkgname=reboot-into-windows
-pkgver=0.2
-pkgrel=1
-pkgdesc='Reboot into dual-booted Windows with a Bluetooth keyboard'
-arch=(any)
-license=(MIT)
-depends=(bash gawk grep)
-source=(
- "$pkgname"
- "$pkgname.desktop"
- icon.svg
- sudoers
-)
-sha256sums=(
- SKIP
- SKIP
- SKIP
- SKIP
-)
-options=('!debug')
-
-package() {
- install -D -m 0755 -t "$pkgdir/usr/bin" "$srcdir/$pkgname"
- install -D -m 0644 -t "$pkgdir/usr/share/applications" "$srcdir/$pkgname.desktop"
- install -D -m 0644 -t "$pkgdir/usr/share/$pkgname" "$srcdir/icon.svg"
- install -D -m 0640 -t "$pkgdir/etc/sudoers.d/reboot-into-windows" sudoers
-}
diff --git a/bin/.gitattributes b/bin/.gitattributes
new file mode 100644
index 0000000..c9f8ef4
--- /dev/null
+++ b/bin/.gitattributes
@@ -0,0 +1 @@
+reboot-into-windows text eol=lf
diff --git a/reboot-into-windows b/bin/reboot-into-windows
index a6584b9..a6584b9 100755
--- a/reboot-into-windows
+++ b/bin/reboot-into-windows
diff --git a/sudoers b/etc/sudoers
index 4bb7722..4bb7722 100644
--- a/sudoers
+++ b/etc/sudoers
diff --git a/prelude.mk b/prelude.mk
deleted file mode 100644
index da836d7..0000000
--- a/prelude.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# Please see https://tensin.name/blog/notes/makefile.html
-
-MAKEFLAGS += --no-builtin-rules --no-builtin-variables --warn-undefined-variables
-unexport MAKEFLAGS
-.DEFAULT_GOAL := all
-.DELETE_ON_ERROR:
-.SUFFIXES:
-SHELL := bash
-.SHELLFLAGS := -eu -o pipefail -c
-
-escape = $(subst ','\'',$(1))
-
-define noexpand
-ifeq ($$(origin $(1)),environment)
- $(1) := $$(value $(1))
-endif
-ifeq ($$(origin $(1)),environment override)
- $(1) := $$(value $(1))
-endif
-ifeq ($$(origin $(1)),command line)
- override $(1) := $$(value $(1))
-endif
-endef
diff --git a/icon.svg b/share/icon.svg
index 4fbbd4e..4fbbd4e 100644
--- a/icon.svg
+++ b/share/icon.svg
diff --git a/reboot-into-windows.desktop b/share/reboot-into-windows.desktop
index 122ed82..122ed82 100644
--- a/reboot-into-windows.desktop
+++ b/share/reboot-into-windows.desktop