jobcore/boot-66serv/PKGBUILD-oba

93 lines
2.2 KiB
Plaintext

# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# PkgSource : url="https://git.obarun.org/pkg/observice/boot-66serv"
#-----------------------------------------------------------------------------------------------
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=boot-66serv
pkgname=boot@-66serv
pkgdesc="Complete and portable set of services to properly boot a machine with 66 tools"
pkgver=2.4.1
pkgrel=2
url="https://git.obarun.org/obmods/${pkgbase}"
track="tag"
target="v${pkgver}"
source=("${pkgbase}::git+${url}#${track}=${target}")
#-------------------------------------| BUILD CONFIGURATION |-----------------------------------
makedepends=(
'git')
#--------------------------------------------| BUILD |-------------------------------------------
build() {
cd "${pkgbase}"
./configure \
--bindir=/usr/bin \
--with-system-service=/usr/lib/66/service \
--with-system-module=/usr/lib/66/module \
--with-system-script=/usr/lib/66/script
}
#-------------------------------------------| PACKAGE |------------------------------------------
package() {
cd "${pkgbase}"
make DESTDIR="${pkgdir}" install
}
#------------------------------------| INSTALL CONFIGURATION |----------------------------------
arch=('x86_64')
install=boot.install
groups=(
'base'
's6-suite')
backup=(
'etc/66/rc.local')
depends=(
'66>=0.6.1.3'
'66-tools>=0.0.7.3'
's6-linux-utils'
's6-portable-utils'
'util-linux'
'iproute2'
'kmod'
'opentmpfiles'
'modules')
optdepends=(
'iptables: iptables support'
'nftables: nftables support'
'ebtables: ebtables support'
'arptables: arptables support'
'dmraid: dmraid support'
'lvm2: lvm support'
'btrfs-progs: btrfs support'
'zfs: zfs support'
'cryptsetup: encryption support')
replaces=('boot-66serv')
conflicts=('boot-66serv')
provides=('boot-66serv')
#-------------------------------------| SECURITY AND LICENCE |----------------------------------
sha512sums=('SKIP')
license=('0BSD')