62 lines
1.9 KiB
Bash
62 lines
1.9 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/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=daemontools-encore
|
|
pkgver=1.10
|
|
pkgrel=04
|
|
pkgdesc="collection of tools for managing UNIX services - derived from the public-domain release of daemontools by D. J. Bernstein."
|
|
url="https://untroubled.org/daemontools-encore"
|
|
depends=('sh')
|
|
source=("https://untroubled.org/daemontools-encore/${pkgname}-${pkgver}.tar.gz"
|
|
'ldflags.patch'
|
|
'cflags.patch')
|
|
|
|
prepare() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
patch conf-cc "${srcdir}/cflags.patch"
|
|
patch conf-ld "${srcdir}/ldflags.patch"
|
|
}
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
path_bin="${pkgdir}/usr/bin"
|
|
path_man="${pkgdir}/usr/share/man"
|
|
|
|
install -dm755 "${path_bin}"
|
|
install -dm755 "${path_man}"
|
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
echo "${path_bin}" > conf-bin
|
|
echo "${path_man}" > conf-man
|
|
|
|
make DESTDIR="${pkgdir}/" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('MIT')
|
|
|
|
sha256sums=('9f48f3c6cdd3f2b0202532e87f9ff46ea86777ca31ebda3a96bed618104bbd31'
|
|
'3842bbef9690295e77faab723205361667415f9788de6e09150f02e6a006c423'
|
|
'b61e21071c1f115d32dd36f58f826310981e17978f5542e15da071abaf6fe22a')
|
|
|
|
sha256sums=(9f48f3c6cdd3f2b0202532e87f9ff46ea86777ca31ebda3a96bed618104bbd31 # daemontools-encore-1.10.tar.gz
|
|
3842bbef9690295e77faab723205361667415f9788de6e09150f02e6a006c423 # ldflags.patch
|
|
b61e21071c1f115d32dd36f58f826310981e17978f5542e15da071abaf6fe22a) # cflags.patch
|
|
|
|
## d60b44266ff4b46435fe181f1161a0f34879c0f4ed39c56244bf62a609f8e096 daemontools-encore-1.10-04-x86_64.pkg.tar.lz
|