updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / yt-mplayer-hg / PKGBUILD
blob899794d51dd67222d68ce34bf9a2fb03bc5f26d4
1 # Contributor portix
3 pkgname=yt-mplayer-hg
4 pkgver=37
5 pkgrel=1
6 pkgdesc="A video player that streams youtube videos directly in mplayer" 
7 url="http://bitbucket.org/portix/yt-mplayer" 
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('libwebkit' 'mplayer' 'gtk2')
11 provides=(yt-mplayer)
12 conflicts=(yt-mplayer)
13 makedepends=('pkgconfig' 'mercurial')
15 _hgroot="https://bitbucket.org/portix"
16 _hgrepo="yt-mplayer"
18 build() {
19   rm -rf ${srcdir}/${_hgrepo}-build
20   cp -a ${srcdir}/${_hgrepo} ${srcdir}/${_hgrepo}-build
21   cd ${srcdir}/${_hgrepo}-build
22   make 
24 package() {
25   cd ${srcdir}/${_hgrepo}-build
26   make DESTDIR=${pkgdir} install