updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cclive-git / PKGBUILD
blobca2d3683c9f15ea0424505e15c92d00609dfeeb7
1 # Contributor: joyfulgirl@archlinux.us
2 # Contributor: nathan owe ndowens04 at gmail dot com
3 # Contributor: Tomato <kario@wsisiz.edu.pl>
4 # Maintainer: N30N <archlinux@alunamation.com>
6 pkgname="cclive-git"
7 pkgver=20111104
8 pkgrel=1
9 pkgdesc="Commandline downloader for popular video websites."
10 arch=("i686" "x86_64")
11 url="http://cclive.sourceforge.net/"
12 license=("GPL3")
13 depends=("boost-libs" "pcre" "libquvi")
14 makedepends=("git" "boost")
15 provides=("cclive")
16 conflicts=("cclive")
18 _gitroot="git://repo.or.cz/cclive.git"
19 _gitname="cclive"
21 build() {
22         if [ -d ${_gitname} ]; then
23                 cd ${_gitname}
24                 git clean -dfx
25                 git reset --hard
26                 git pull origin
27         else
28                 git clone "${_gitroot}"
29                 cd ${_gitname}
30         fi
32         chmod +x autogen.sh
33         ./autogen.sh
34         ./configure --prefix=/usr
35         make DESTDIR="${pkgdir}" install
38 # vim: set noet ff=unix: