updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / radioget-hg / PKGBUILD
blob0eee1e1e94d551b281cd2260341942128e66d766
1 # Maintainer: osily <ly50247 at gmail dot com>
3 pkgname=radioget-hg
4 pkgver=31
5 pkgrel=1
6 pkgdesc='A simple radio.'
7 arch=('i686' 'x86_64')
8 url='http://code.google.com/p/shadaradio/'
9 license=('GPL3')
10 groups=()
11 provides=()
12 depends=('qt' 'mplayer')
13 makedepends=('mercurial')
14 conflicts=('radioget-svn')
16 _hgroot="https://shadaradio.googlecode.com/hg/"
17 _hgrepo="shadaradio"
19 build() {
20   cd $srcdir/
22   msg "Creating make environment..."
24   rm -rf $srcdir/$_hgrepo-build
25   cp -r $srcdir/$_hgrepo $srcdir/$_hgrepo-build
27   msg "Starting make..."
28   cd $srcdir/$_hgrepo-build
31         qmake && make || return 1
32         mkdir -p "$pkgdir/usr/bin/" || return 1
33         install -D -m755 radioget $pkgdir/usr/bin || return 1