commit dcb92f53f3f159d56b5b08527bc73ac6a29d5d13 Author: Sidharth Arya Date: Wed Feb 4 16:45:55 2026 +0530 initial commit diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..c212a8788de98 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Sidharth Arya +pkgname=svcm +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Lightweight systemd service manager for Wayland" +arch=('x86_64') +url="https://github.com/SidharthArya/svcm" +license=('MIT') +depends=('systemd') +makedepends=('go') +source=("$pkgname-$pkgver.tar.gz::https://github.com/SidharthArya/svcm/archive/v$pkgver.tar.gz") +sha256sums=('SKIP') # Update this with actual sum when releasing + +build() { + cd "$pkgname-$pkgver" + go build -o svcm ./src/cmd/svcm +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 svcm "$pkgdir/usr/bin/svcm" + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" +}