aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2025-09-08 12:06:12 +0200
committerEgor Tensin <egor@tensin.name>2025-09-08 12:09:34 +0200
commit76afaa0eb3c72299e1a586f276d835526754c139 (patch)
treef7dd7e496233880b212e874ff4496ade340b9b46
parentsplit master-related stuff to master (diff)
downloadgrub-reboot-into-windows-76afaa0eb3c72299e1a586f276d835526754c139.tar.gz
grub-reboot-into-windows-76afaa0eb3c72299e1a586f276d835526754c139.zip
aur: 0.1-1
Also, moved everything to GitHub (partially, in responsed to the accepted deletion request citing "do not host sources here"). Also, reset the version number, because why not.
Diffstat (limited to '')
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--PKGBUILD29
4 files changed, 18 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c17c348..d5b9d29 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,15 @@
-pkgbase = reboot-into-windows
+pkgbase = grub-reboot-into-windows
pkgdesc = Reboot into dual-booted Windows with a Bluetooth keyboard
- pkgver = 0.2
+ pkgver = 0.1
pkgrel = 1
+ url = https://github.com/egor-tensin/grub-reboot-into-windows
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
+ source = grub-reboot-into-windows-0.1.tar.gz::https://github.com/egor-tensin/grub-reboot-into-windows/archive/v0.1.tar.gz
sha256sums = SKIP
-pkgname = reboot-into-windows
+pkgname = grub-reboot-into-windows
diff --git a/.gitignore b/.gitignore
index 583cae5..6d217b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/src/
/pkg/
+*.tar.gz
*.tar.zst
diff --git a/Makefile b/Makefile
index a21b0fe..7d7d7c3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
include prelude.mk
-PKG_NAME := reboot-into-windows
+PKG_NAME := grub-reboot-into-windows
.PHONY: all
all: build
diff --git a/PKGBUILD b/PKGBUILD
index b601d8c..dee5231 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,21 @@
# Maintainer: Egor Tensin <egor@tensin.name>
-pkgname=reboot-into-windows
-pkgver=0.2
+pkgname=grub-reboot-into-windows
+pkgver=0.1
pkgrel=1
pkgdesc='Reboot into dual-booted Windows with a Bluetooth keyboard'
arch=(any)
+url="https://github.com/egor-tensin/$pkgname"
license=(MIT)
depends=(bash gawk grep)
-source=(
- "$pkgname"
- "$pkgname.desktop"
- icon.svg
- sudoers
-)
-sha256sums=(
- SKIP
- SKIP
- SKIP
- SKIP
-)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=(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
+ cd -- "$pkgname-$pkgver"
+
+ install -D -m 0755 -t "$pkgdir/usr/bin" "bin/$pkgname"
+ install -D -m 0644 -t "$pkgdir/usr/share/applications" "share/$pkgname.desktop"
+ install -D -m 0644 -t "$pkgdir/usr/share/$pkgname" share/icon.svg
+ install -D -m 0640 -t "$pkgdir/etc/sudoers.d/$pkgname" etc/sudoers
}