summaryrefslogtreecommitdiff
path: root/homebrew/rmtrash
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/rmtrash
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/rmtrash')
-rw-r--r--homebrew/rmtrash/.beer21
-rw-r--r--homebrew/rmtrash/.make.sh-auto7
-rw-r--r--homebrew/rmtrash/_metadata/description1
-rw-r--r--homebrew/rmtrash/_metadata/homepage1
-rw-r--r--homebrew/rmtrash/_metadata/name1
-rw-r--r--homebrew/rmtrash/_metadata/version1
-rwxr-xr-xhomebrew/rmtrash/download.sh1
7 files changed, 33 insertions, 0 deletions
diff --git a/homebrew/rmtrash/.beer b/homebrew/rmtrash/.beer
new file mode 100644
index 000000000..807bee662
--- /dev/null
+++ b/homebrew/rmtrash/.beer
@@ -0,0 +1,21 @@
+{
+ "name": "Rmtrash",
+ "description": "Move files to macOS",
+ "url": "http://www.nightproductions.net/downloads/rmtrash_source.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.nightproductions.net/cli.htm",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"Makefile\", \"-o root -g wheel\", \"\"",
+ "inreplace \"Makefile\", \"${DESTDIR}/man\", \"${DESTDIR}/share/man\"",
+ "bin.mkpath",
+ "man1.mkpath",
+ "system \"make\", \"CC=#{ENV.cc}\", \"LDFLAGS=-framework Foundation -prebind\"",
+ "system \"make\", \"install\", \"DESTDIR=#{prefix}\""
+ ],
+ "version": "1.0-unknown",
+ "file": "rmtrash.rb"
+} \ No newline at end of file
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}
diff --git a/homebrew/rmtrash/_metadata/description b/homebrew/rmtrash/_metadata/description
new file mode 100644
index 000000000..a4c05bfeb
--- /dev/null
+++ b/homebrew/rmtrash/_metadata/description
@@ -0,0 +1 @@
+Move files to macOS
diff --git a/homebrew/rmtrash/_metadata/homepage b/homebrew/rmtrash/_metadata/homepage
new file mode 100644
index 000000000..ae1e87445
--- /dev/null
+++ b/homebrew/rmtrash/_metadata/homepage
@@ -0,0 +1 @@
+http://www.nightproductions.net/cli.htm
diff --git a/homebrew/rmtrash/_metadata/name b/homebrew/rmtrash/_metadata/name
new file mode 100644
index 000000000..073771261
--- /dev/null
+++ b/homebrew/rmtrash/_metadata/name
@@ -0,0 +1 @@
+Rmtrash
diff --git a/homebrew/rmtrash/_metadata/version b/homebrew/rmtrash/_metadata/version
new file mode 100644
index 000000000..88fd7f442
--- /dev/null
+++ b/homebrew/rmtrash/_metadata/version
@@ -0,0 +1 @@
+1.0-unknown
diff --git a/homebrew/rmtrash/download.sh b/homebrew/rmtrash/download.sh
new file mode 100755
index 000000000..30ecc7032
--- /dev/null
+++ b/homebrew/rmtrash/download.sh
@@ -0,0 +1 @@
+wget http://www.nightproductions.net/downloads/rmtrash_source.tar.gz \ No newline at end of file