Browse Source

[testing] -> [extra] 'live-services-0.10-1' move

pull/2/head
artoo 1 year ago
parent
commit
1be8bf04a4
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B
  1. 33
      live-services/x86_64/extra/PKGBUILD
  2. 0
      live-services/x86_64/extra/live-s6.install
  3. 66
      live-services/x86_64/testing/PKGBUILD

33
live-services/x86_64/extra/PKGBUILD

@ -7,7 +7,7 @@ pkgname=('artix-live-base'
'artix-live-openrc'
'artix-live-runit'
'artix-live-s6')
pkgver=0.9.6
pkgver=0.10
pkgrel=1
pkgdesc='Artix live session'
arch=('any')
@ -15,16 +15,21 @@ url="https://gitea.artixlinux.org/artix/live-services"
license=('GPL')
makedepends=('git')
# Build a commit point
#_commit=b0accd6320c35ea5ffcb2e9f48426d7be14c2d63 # tag/0.9.2
#source=("git+$url.git#commit=$_commit")
source=("git+$url.git")
sha256sums=('SKIP')
# _commit=e9e2ec9d9e57b4d4eeb5a329314f888a3791085a # tags/0.10
# source=("git+$url.git#commit=$_commit")
source=("${pkgbase}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz")
sha256sums=('8f93bd8087c6f4ece2d3e9c68fdb4010561b41647825ebc381de37c322348504')
build() {
cd ${pkgbase}
make
}
package_artix-live-base() {
pkgdesc='Artix live base scripts'
depends=("artools-base>=${pkgver}")
depends=('artools-base')
cd ${pkgbase} #-${pkgver}
cd ${pkgbase}
make DESTDIR=${pkgdir} install_base install_xdg
}
@ -32,22 +37,30 @@ package_artix-live-openrc() {
pkgdesc='Artix live openrc init scripts'
depends=('openrc' 'artix-live-base')
cd ${pkgbase} #-${pkgver}
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} #-${pkgver}
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' 'artix-live-base')
install=live-s6.install
cd ${pkgbase} #-${pkgver}
cd ${pkgbase}
make DESTDIR=${pkgdir} install_s6
}

0
live-services/x86_64/testing/live-s6.install → live-services/x86_64/extra/live-s6.install

66
live-services/x86_64/testing/PKGBUILD

@ -1,66 +0,0 @@
# 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')
pkgver=0.10
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=e9e2ec9d9e57b4d4eeb5a329314f888a3791085a # tags/0.10
# source=("git+$url.git#commit=$_commit")
source=("${pkgbase}-${pkgver}.tar.gz::$url/archive/${pkgver}.tar.gz")
sha256sums=('8f93bd8087c6f4ece2d3e9c68fdb4010561b41647825ebc381de37c322348504')
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' 'artix-live-base')
install=live-s6.install
cd ${pkgbase}
make DESTDIR=${pkgdir} install_s6
}
Loading…
Cancel
Save