updated on Fri Jan 13 08:00:32 UTC 2012
[aur-mirror.git] / shadaradio-hg / PKGBUILD
blob2819dfd1f785b2d8e691b15e47b3d95f77dcd81c
1 # Maintainer: osily <ly50247 at gmail dot com>
3 pkgname=shadaradio-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' 'radioget-hg')
16 _hgroot="https://shadaradio.googlecode.com/hg/"
17 _hgrepo="shadaradio"
20 build() {
21   cd $srcdir/
23   msg "Creating make environment..."
25   rm -rf $srcdir/$_hgrepo-build
26   cp -r $srcdir/$_hgrepo $srcdir/$_hgrepo-build
28   msg "Starting make..."
29   cd $srcdir/$_hgrepo-build
32         qmake && make || return 1
33         mkdir -p "$pkgdir/usr/bin/" || return 1
34         install -D -m755 shadaradio $pkgdir/usr/bin || return 1