47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
# Template file for '66'
|
|
pkgname=66
|
|
version=0.1.0.1
|
|
revision=1
|
|
wrksrc="66-v${version}"
|
|
build_style=configure
|
|
configure_args="--prefix=/usr
|
|
--dynlibdir=/usr/lib
|
|
--libdir=/usr/lib
|
|
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
|
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="oblibs-devel skalibs-devel execline-devel s6-devel s6-rc s6-portable-utils procps-ng-devel"
|
|
depends="s6-rc s6-portable-utils"
|
|
short_desc="Helpers tools around s6-rc"
|
|
maintainer="mobinmob <mobinmob@disroot.org>"
|
|
license="ISC"
|
|
homepage="http://web.obarun.org/software/"
|
|
distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
|
|
checksum=6633b7cf810aa3b59f84b567a57914f51247f7a96fca0879a2f8141b87bd674c
|
|
|
|
post_install() {
|
|
local i
|
|
vlicense COPYING
|
|
for i in doc/*.html ; do
|
|
vdoc $i
|
|
done
|
|
vdoc README
|
|
}
|
|
|
|
66-doc_package() {
|
|
archs=noarch
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|
|
|
|
66-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|