Permalink
Browse files

update unrar to latest sm

  • Loading branch information...
1 parent 0994fee commit 0eeccb969e49fa7b6d8323c4ed989e72da1d0e43 @mpapis mpapis committed Sep 21, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 unrar/shell/functions
View
@@ -1,6 +1,6 @@
#!/bin/sh
-unrar_initialize()
+unrar_prefetch()
{
package define \
file "unrarsrc-${package_version}.${archive_format}" \
@@ -9,7 +9,8 @@ unrar_initialize()
unrar_configure()
{
- replace_content "^DESTDIR=.*$" \
+ file replace \
+ content "^DESTDIR=.*$" \
with "DESTDIR=${install_path}" \
in "makefile.unix"
}
@@ -31,7 +32,7 @@ unrar_build()
unrar_install()
{
paths create "${install_path}/bin"
- move_file "unrar" to "${install_path}/bin"
- ensure_files_are_executable "${install_path}/bin/unrar"
+ file move "unrar" to "${install_path}/bin"
+ file chmod 755 "${install_path}/bin/unrar"
}

0 comments on commit 0eeccb9

Please sign in to comment.