Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 49badd2677
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (26 sloc) 0.822 kb
# Description: Sniff media hosting websites for Flash-free consumption.
# URL: https://github.com/tlvince/sniffy
# Maintainer: bohoomil
# Packager: bohoomil (based on the Arch Linux AUR package by Tom Vincent)
# Depends on: python pypcap quvi git subversion
name=sniffy
version=0.4.1
release=1
source=('sniffy.d' 'sniffy.d.conf')
_gitroot=git://github.com/tlvince/sniffy.git
_gitname=$name
build() {
echo "Connecting to GIT server..."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
echo "GIT checkout done or server timeout"
cd $name
python setup.py install --root=$PKG --optimize=1
mkdir -p $PKG/etc/rc.d/
install -D -m755 $SRC/sniffy.d $PKG/etc/rc.d/
install -D -m664 $SRC/sniffy.d.conf $PKG/etc/
}
Jump to Line
Something went wrong with that request. Please try again.