diff --git a/make-ca/make-ca.sysconf b/make-ca/make-ca.sysconf new file mode 100644 index 00000000..5552aa64 --- /dev/null +++ b/make-ca/make-ca.sysconf @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/sbin/make-ca -g \ No newline at end of file diff --git a/make-ca/ympbuild b/make-ca/ympbuild new file mode 100644 index 00000000..0ec548e8 --- /dev/null +++ b/make-ca/ympbuild @@ -0,0 +1,25 @@ +#!/bin/bash +name=make-ca +release=1 +version=1.10 +url='https://github.com/lfs-book/make-ca' +description='Ssl certificates' +email='aliriza.keskin@pardus.org.tr' +maintainer='aliriza' +license=('GPLv3') +source=(https://github.com/lfs-book/make-ca/releases/download/v1.10/make-ca-1.10.tar.xz + make-ca.sysconf) +md5sums=('74f1ad16d7a086ac76e0424fd4dfe67b' + 'SKIP') +arch=(x86_64) + +cd "$name-$version" +build(){ + make +} + +package(){ + make install + mkdir -p "$DESTDIR"/etc/sysconf.d + install ../make-ca.sysconf "$DESTDIR"/etc/sysconf.d/ +}