summaryrefslogtreecommitdiff
path: root/homebrew/rmtrash/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/rmtrash/.make.sh-auto')
-rw-r--r--homebrew/rmtrash/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/rmtrash/.make.sh-auto b/homebrew/rmtrash/.make.sh-auto
new file mode 100644
index 000000000..eb1b6d02d
--- /dev/null
+++ b/homebrew/rmtrash/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+inreplace "Makefile", "-o root -g wheel", ""
+inreplace "Makefile", "${DESTDIR}/man", "${DESTDIR}/share/man"
+bin.mkpath
+man1.mkpath
+make CC=${PKG_TARG}-clang LDFLAGS=-framework Foundation -prebind
+make DESTDIR=${PKG_DEST} install DESTDIR=${PKG_TAPF}