jobcore/skarnet/s6/PKGBUILD
joborun 0d3d567b93 upg curl expat
rebuild skarnet stack for 66-EOL
2024-02-07 02:11:54 +02:00

58 lines
1.5 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/skarnet/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=s6
_pkgver=v2.11.3.2
pkgver=2.11.3.2
pkgrel=02
pkgdesc="A process supervision suite - Last ver that works with 66-EOL"
url="http://skarnet.org/software/s6/"
makedepends=('git' 'skalibs=2.13.1.1' 'execline=2.9.3.0')
depends=('skalibs=2.13.1.1' 'execline=2.9.3.0')
groups=('66-EOL')
#source=("$pkgname::git+git://git.skarnet.org/s6#commit=$_commit")
source=("$pkgname::git+git://git.skarnet.org/s6#tag=${_pkgver}")
_pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd ${srcdir}/${pkgname}
./configure --prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--datadir=/etc \
--disable-shared \
--with-lib=/usr/lib/skalibs \
--with-lib=/usr/lib/execline
make
}
package() {
cd ${srcdir}/${pkgname}
DESTDIR=${pkgdir} make install
# add doc
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(SKIP)
## 2faa9d423378e8f0e1d741c2e65eef7d28a749539dea337bfdf6a904287598a4 s6-2.11.3.2-02-x86_64.pkg.tar.lz