You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.6 KiB

# Contributor : Eric Vidal <eric@obarun.org>
# Contributor : Jean-Michel T.Dydak <jean-michel@obarun.org>
# Maintainer : Nathan <ndowens@artixlinux.org>
pkgdesc="small tools built around s6 and s6-rc programs"
pkgname=66
pkgver=0.6.1.2
pkgrel=1.2
arch=('x86_64')
depends=('skalibs>=2.10.0.0'
'execline>=2.7.0.0'
's6>=2.10.0.0'
's6-rc>=0.5.2.1'
'66-libs>=0.1.3.0')
makedepends=('git'
'lowdown'
'linux-api-headers')
url="https://framagit.org/Obarun/66.git"
source=("${pkgname}::git+${url}#tag=v${pkgver}")
provides=('s6-linux-init')
conflicts=('s6-linux-init')
license=('ISC')
install=66.install
groups=('base' '66-init')
backup=(
'etc/66/init.conf'
'etc/66/rc.init'
'etc/66/rc.init.container'
'etc/66/rc.shutdown'
'etc/66/rc.shutdown.final'
'etc/66/init')
sha512sums=('SKIP')
build() {
cd "${pkgname}"
./configure \
--bindir=/usr/bin \
--shebangdir=/usr/bin \
--disable-shared \
--with-system-service=/etc/66/service \
--with-system-module=/etc/66/module \
--wtih-system-script=/etc/66/script \
--with-s6-log-timestamp=iso \
--with-s6-log-user=s6log \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/execline \
--with-lib=/usr/lib/s6 \
--with-lib=/usr/lib/s6-rc \
--with-lib=/usr/lib/oblibs
make
}
package() {
cd "${pkgname}"
make DESTDIR="${pkgdir}" install
install -Dm 0644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
#------------------------------------| INSTALL CONFIGURATION |----------------------------------