#!/bin/bash # # Maintainer: Deposite Pirate source /usr/src/ports/Build/build.sh NAME=ca_certificates VERSION=20130119 ARCH=noarch BUILD=1 # Description cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh </dev/null 2>/dev/null EOF # Sources SRCNAME[0]=ca-certificates SRCVERS[0]=${VERSION} SRCPACK[0]=http://packages.debian.org/source/testing/${SRCNAME[0]}/${SRCNAME[0]}_${SRCVERS[0]}.tar.gz build0() { make ${JOBS} make install DESTDIR="${PKG}" doc debian/NEWS install.dat doinst.sh ${PKG}/install install.dir ${PKG}${SYS_DIR[man]}/man8 install.man sbin/update-ca-certificates.8 ${PKG}${SYS_DIR[man]}/man8 install.dir ${PKG}${SYS_DIR[share]}/ca-certificates/update install.dir ${PKG}${SYS_DIR[var]}/cache/cacerts echo "# Automatically generated by ${NAME}-${VERSION}" > ${PKG}${SYS_DIR[var]}/cache/cacerts/cacerts.cache ( cd ${PKG}${SYS_DIR[share]}/ca-certificates find . -name '*.crt' | sort | cut -b3- ) >> ${PKG}${SYS_DIR[var]}/cache/cacerts/cacerts.cache }