Browse Source

[trunk] -> [extra] 'live-services-0.11-1' add

pull/2/head
artoo 7 months ago
parent
commit
2ffe89ddc2
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 12
      live-services/trunk/PKGBUILD
  2. 76
      live-services/x86_64/extra/PKGBUILD
  3. 11
      live-services/x86_64/extra/live-66.install
  4. 4
      live-services/x86_64/extra/live-s6.install

12
live-services/trunk/PKGBUILD

@ -7,8 +7,8 @@ pkgname=('artix-live-base'
'artix-live-openrc'
'artix-live-runit'
'artix-live-s6'
'artix-live-66')
pkgver=0.10.2
'artix-live-suite66')
pkgver=0.11
pkgrel=1
pkgdesc='Artix live session'
arch=('any')
@ -16,7 +16,7 @@ url="https://gitea.artixlinux.org/artix/live-services"
license=('GPL')
makedepends=('git')
# Build a commit point
_commit=aa58c995ebbf4005ffe1d1043e5676670681999c # pre-0.11
_commit=aa58c995ebbf4005ffe1d1043e5676670681999c # 0.11
source=("git+$url.git#commit=$_commit")
# source=("${pkgbase}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz")
sha256sums=('SKIP')
@ -59,16 +59,16 @@ package_artix-live-runit() {
package_artix-live-s6() {
pkgdesc='Artix live s6 init scripts'
depends=('s6' 'artix-live-base')
depends=('s6-base' 'artix-live-base')
install=live-s6.install
cd ${pkgbase}
make DESTDIR=${pkgdir} install_s6
}
package_artix-live-66() {
package_artix-live-suite66() {
pkgdesc='Artix live 66 init scripts'
depends=('suite66' 'artix-live-base' 'suite66-scripts')
depends=('suite66-base' 'artix-live-base')
install=live-66.install
cd ${pkgbase}

76
live-services/x86_64/extra/PKGBUILD

@ -0,0 +1,76 @@
# Maintainer: artoo <artoo@artixlinux.org>
# Contributor: nous <nous@artixlinux.org>
# Contributor: dudemanguy <dudemanguy@artixlinux.org>
pkgbase=live-services
pkgname=('artix-live-base'
'artix-live-openrc'
'artix-live-runit'
'artix-live-s6'
'artix-live-suite66')
pkgver=0.11
pkgrel=1
pkgdesc='Artix live session'
arch=('any')
url="https://gitea.artixlinux.org/artix/live-services"
license=('GPL')
makedepends=('git')
# Build a commit point
_commit=aa58c995ebbf4005ffe1d1043e5676670681999c # 0.11
source=("git+$url.git#commit=$_commit")
# source=("${pkgbase}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd ${pkgbase}
make
}
package_artix-live-base() {
pkgdesc='Artix live base scripts'
depends=('artools-base')
cd ${pkgbase}
make DESTDIR=${pkgdir} install_base install_xdg
}
package_artix-live-openrc() {
pkgdesc='Artix live openrc init scripts'
depends=('openrc' 'artix-live-base')
cd ${pkgbase}
make DESTDIR=${pkgdir} install_rc
install -d "${pkgdir}"/etc/runlevels/default
ln -sf /etc/init.d/pacman-init "${pkgdir}"/etc/runlevels/default/pacman-init
ln -sf /etc/init.d/artix-live "${pkgdir}"/etc/runlevels/default/artix-live
}
package_artix-live-runit() {
pkgdesc='Artix live runit init scripts'
depends=('runit' 'artix-live-base')
cd ${pkgbase}
make DESTDIR=${pkgdir} install_runit
install -d "${pkgdir}"/etc/runit/runsvdir/default
ln -sf /etc/runit/sv/pacman-init "${pkgdir}"/etc/runit/runsvdir/default/pacman-init
}
package_artix-live-s6() {
pkgdesc='Artix live s6 init scripts'
depends=('s6-base' 'artix-live-base')
install=live-s6.install
cd ${pkgbase}
make DESTDIR=${pkgdir} install_s6
}
package_artix-live-suite66() {
pkgdesc='Artix live 66 init scripts'
depends=('suite66-base' 'artix-live-base')
install=live-66.install
cd ${pkgbase}
make DESTDIR=${pkgdir} install_66
}

11
live-services/x86_64/extra/live-66.install

@ -0,0 +1,11 @@
# This will start "live" tree after boot
# and also create default boot tree and
# needed boot services
post_install() {
66-tree -n boot
66-enable -t boot -F boot@system
66-tree -ncE live
66-enable -t live artix-live
66-enable -t live pacman-init
}

4
live-services/x86_64/extra/live-s6.install

@ -0,0 +1,4 @@
post_install() {
sh /usr/share/libalpm/scripts/s6-rc-db-update-hook
s6-rc-bundle-update -c /etc/s6/rc/compiled add default pacman-init artix-live
}
Loading…
Cancel
Save