You are not logged in.

#1 2006-10-29 04:40:51

lentiflo13
Member
Registered: 2006-09-25
Posts: 7

Script to Install Handbrake in Archlinux

I created a script to install handbrake in archlinux and actually works perfectly. Follow the instructions below to install Handbrake v0.7.1:

1) Save the following at the end of the post, excluding the --- lines in a file called install_handbrake.sh

2) chmod a+x install_handbrake.sh

3) login as root:

4) pacman -Sy jam

5) ./install_handbrake.sh         

6) log out as root.

7) Try running it by typing handbrake in any terminal!

------------------Handbrake install script-----------------------------------------
#!/bin/sh
# Handbrake installer.
# 10-28-06
# The chmod is just in case, doesn't hurt to leave it in.
# (For all users to execute it)

# Update this to HandBrake-0.7.X when it comes out, will still work smile
hbname="HandBrake-0.7.1"

# If there is an error, it will print to screen anyway and exit.

wget -c http://download.m0k.org/handbrake/$hbname.tar.gz
&& tar xvf $hbname.tar.gz && cd $hbname && mv /usr/lib/libmp4v2* ./
&& mv /usr/bin/faac ./ && ./configure && jam && mv libmp4v2* /usr/lib/
&& mv faac /usr/bin/ && cp HBTest /usr/bin/handbrake && chmod +x /usr/bin/handbrake
&& cd .. && rm -R HandBrake-0.7.1/ && rm $hbname.tar.gz && clear &&
echo -e "$hbname was installed successfully!n"
&& echo -e "Type handbrake to run it.n"


exit
--------------------------------End install script-----------------------------------

Enjoy!


lentiflo13

Offline

#2 2006-10-29 05:36:31

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Script to Install Handbrake in Archlinux

You should use the PKGBUILD in AUR:
http://aur.archlinux.org/packages.php?d … =1&ID=6382
and make a package so it could be installed properly with pacman.

Offline

Board footer

Powered by FluxBB