New package: drist-1.04

This commit is contained in:
Paper Mountain Studio 2019-12-01 16:51:33 +01:00 committed by Danh Doan
parent e578d4606c
commit 897dca3972
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,14 @@
--- Makefile
+++ Makefile
@@ -11,9 +11,9 @@
install:
@echo installing executable to "${DESTDIR}${PREFIX}/bin"
- @install -D "${BIN}" "${DESTDIR}${BINDIR}/${BIN}"
+ @install -D -m 755 "${BIN}" "${DESTDIR}${BINDIR}/${BIN}"
@echo installing manual page to ${DESTDIR}${MANDIR}/man1
- @install -D "${BIN}.1" "${DESTDIR}${MANDIR}/man1/${BIN}.1"
+ @install -D -m 644 "${BIN}.1" "${DESTDIR}${MANDIR}/man1/${BIN}.1"
uninstall:
@echo removing executable file from "${DESTDIR}${PREFIX}/bin"

20
srcpkgs/drist/template Normal file
View file

@ -0,0 +1,20 @@
# Template file for 'drist'
pkgname=drist
version=1.04
revision=1
archs=noarch
wrksrc=$pkgname-v$version
build_style=gnu-makefile
depends="openssh rsync"
short_desc="Remote deployment tool"
maintainer="Paper <paper@tilde.institute>"
license="BSD-2-Clause"
homepage="gopher://bitreich.org/1/scm/drist/"
distfiles="ftp://bitreich.org/releases/drist/drist-v$version.tgz"
checksum=174e243b4ae41a3c3c9919b351f6fbe0c94e07b9b728310c78bfa767e810910d
post_install() {
vlicense LICENSE
vmkdir usr/share/drist
vcopy examples /usr/share/drist/
}