This commit is contained in:
Ryan Hughes committed 2026-05-08 01:04:51 -04:00
1 parent a3fbace38d
commit ce58050d3b
5 files changed
+2

No files matched your search

-23
View File
@@ -1,23 +0,0 @@
pkgbase = once-bin
pkgdesc = CLI/TUI for installing and managing self-hosted web applications
pkgver = 0.1.10
pkgrel = 1
url = https://github.com/basecamp/once
install = once.install
arch = x86_64
arch = aarch64
license = MIT
depends = docker
provides = once
conflicts = once
options = !strip
source = MIT-LICENSE-0.1.10::https://raw.githubusercontent.com/basecamp/once/v0.1.10/MIT-LICENSE
source = once-background.service
sha256sums = fa0d1454375cbc7701bc13d916c3ae71e613b8ae718321641e678e09409393c4
sha256sums = aa314fe79677eb5f120fcc3d4c42007a93ff7b1ef917382c0c1fdca5633ad46a
source_x86_64 = once-0.1.10-x86_64::https://github.com/basecamp/once/releases/download/v0.1.10/once-linux-amd64
sha256sums_x86_64 = a153d298edad63c622c416fb694370892b7d135cf2213ed0d0586f05d560aa05
source_aarch64 = once-0.1.10-aarch64::https://github.com/basecamp/once/releases/download/v0.1.10/once-linux-arm64
sha256sums_aarch64 = 65d88f52e02f0d1e3f7aa09abfb6d68936126484acd4442ae993761aa002771e
pkgname = once-bin
-6
View File
@@ -1,6 +0,0 @@
*
!.gitignore
!.SRCINFO
!PKGBUILD
!once-background.service
!once.install
-32
View File
@@ -1,32 +0,0 @@
# Maintainer: Kevin McConnell
pkgname=once-bin
pkgver=0.1.10
pkgrel=1
pkgdesc='CLI/TUI for installing and managing self-hosted web applications'
arch=('x86_64' 'aarch64')
url='https://github.com/basecamp/once'
license=('MIT')
depends=('docker')
provides=('once')
conflicts=('once')
install=once.install
options=('!strip')
_arch_x86_64=amd64
_arch_aarch64=arm64
source_x86_64=("once-${pkgver}-x86_64::${url}/releases/download/v${pkgver}/once-linux-${_arch_x86_64}")
source_aarch64=("once-${pkgver}-aarch64::${url}/releases/download/v${pkgver}/once-linux-${_arch_aarch64}")
source=("MIT-LICENSE-${pkgver}::https://raw.githubusercontent.com/basecamp/once/v${pkgver}/MIT-LICENSE"
"once-background.service")
sha256sums=('fa0d1454375cbc7701bc13d916c3ae71e613b8ae718321641e678e09409393c4'
'aa314fe79677eb5f120fcc3d4c42007a93ff7b1ef917382c0c1fdca5633ad46a')
sha256sums_x86_64=('a153d298edad63c622c416fb694370892b7d135cf2213ed0d0586f05d560aa05')
sha256sums_aarch64=('65d88f52e02f0d1e3f7aa09abfb6d68936126484acd4442ae993761aa002771e')
package() {
install -Dm755 "once-${pkgver}-${CARCH}" "${pkgdir}/usr/bin/once"
install -Dm644 "MIT-LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 once-background.service "${pkgdir}/usr/lib/systemd/system/once-background.service"
}
@@ -1,13 +0,0 @@
[Unit]
Description=Once background tasks (once)
After=network.target docker.service
[Service]
Type=simple
Environment=ONCE_NO_SELF_UPDATE=1
ExecStart=/usr/bin/once background run --namespace once
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
-15
View File
@@ -1,15 +0,0 @@
post_install() {
echo ':: Enable the background service with: systemctl enable --now once-background.service'
}
post_upgrade() {
if systemctl is-active --quiet once-background.service; then
systemctl restart once-background.service
fi
}
pre_remove() {
if systemctl is-active --quiet once-background.service; then
systemctl disable --now once-background.service
fi
}