El lun, 02-06-2025 a las 17:38 +1000, zac escribió:
> Hello,

Hi!

> I'm hoping to submit an AUR [..]

The idea seems good to me, you are not really packaging `blocky` but a
`helper` for it. I would make a split package, one for the base and one
for the binary:

pkgbase=blocky-openrc
pkgname=(blocky-openrc blocky-openrc-bin)
pkgdesc='Fast and lightweight DNS proxy as ad-blocker'
pkgver=2025.06.02
pkgrel=1
url="https://github.com/0xERR0R/blocky";
arch=('any')
license=("0BSD")
provides=("${pkgbase}")
options=(!strip !debug)
source=('blocky.initd')
b2sums=('THESUM')

package_blocky-openrc() {
  depends=('openrc' 'blocky')
  install -D -v -m755 blocky.initd $pkgdir/etc/init.d/blocky
}

package_blocky-openrc-bin() {
  depends=('openrc' 'blocky-bin')
  install -D -v -m755 blocky.initd $pkgdir/etc/init.d/blocky
}

I would put the date in the package version and only change it if the
openrc script changes. Then I would use B2SUM because it is more
efficient and the rest more or less the same. The binary package would
be with the `-bin` at the end as the AUR style guides say. And finally
the options is because being a script you don't need to strip or create
a debug package.

Greetings.

-- 
Óscar García Amor | ogarcia at moire.org | http://ogarcia.me

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to