You are not logged in.

#1 2022-07-26 19:49:03

Relwi
Member
Registered: 2022-07-26
Posts: 2

PKGBUILD review request: dinit

First time and newbie doing a PKGBUILD, is fine with this?

# Maintainer: Relwi <theofficialdork@hotmail.com>
pkgname=dinit
pkgver=0.15.1
pkgrel=1
pkgdesc='Service monitoring / "init" system'
url='https://github.com/davmac314/dinit'
source=("$pkgname-$pkgver.tar.gz::https://github.com/davmac314/dinit/archive/v$pkgver.tar.gz")
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
license=('Apache')
makedepends=('make')
depends=('git')
sha256sums=('b6cc489079a6600ae5f89cbc52b6046bd522e8e91da60c6a3006c4224cba83b4')

build () {
  cd "$pkgname-$pkgver"

  make
}

package() {
  cd "$pkgname-$pkgver"
  
  make DESTDIR="$pkgdir/" install
}

Offline

#2 2022-07-28 10:14:52

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: PKGBUILD review request: dinit

init packages usually require more steps, since dinit is used on artix linux you may want to look at https://gitea.artixlinux.org/packagesD/ … k/PKGBUILD to see how they do it .

Have you tested on all of those architectures ?
If not, just stick to x86_64  .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB