You are not logged in.

#1 2026-01-06 22:19:17

ericbn
Member
Registered: 2026-01-06
Posts: 2

PKGBUILD Review: zimfw

Hi!

This is my first time attempting to create an AUR package. I'd like to submit it
to the official repository (the extra repository, to my understanding) and would
appreciate a review of the PKGBUILD beforehand.

Besides the code below, the zimfw.install file contains a post_install function
that prints additional installation instructions, and I'm understanding I should
also include a LICENSE file containg the Arch Linux's 0BSD license.

# Maintainer: Eric Nielsen <ericbn at proton dot me>

pkgname=zimfw
pkgver=1.20.0
pkgrel=1
pkgdesc='Zsh plugin manager'
arch=('any')
url='https://zimfw.sh'
license=('MIT')
depends=('zsh>=5.2')
source=("$pkgname-$pkgver.zsh.gz::https://github.com/zimfw/zimfw/releases/download/v$pkgver/zimfw.zsh.gz")
sha256sums=('b948ef89a2f6fe565197e0fa898046337168c78bfcbae43601baeb9cd51f7038')
install=zimfw.install

package() {
	cd "$srcdir"
	install -Dm0644 -T "$pkgname-$pkgver.zsh" "$pkgdir/usr/share/zimfw/zimfw.zsh"
}

Offline

#2 2026-01-06 23:04:36

killertofus
Member
Registered: 2025-02-10
Posts: 123

Re: PKGBUILD Review: zimfw

only package maintainers can upload packages to the official repos, you can however submit it to the aur https://wiki.archlinux.org/title/AUR_su … submission

Last edited by killertofus (2026-01-06 23:05:17)

Offline

#3 2026-01-07 12:59:55

ericbn
Member
Registered: 2026-01-06
Posts: 2

Re: PKGBUILD Review: zimfw

Oh, got it, will do. Thanks for the feedback!

Offline

Board footer

Powered by FluxBB