1 # Author: Johannes Marbach <jm@rapidrabbit.de>
5 pkgdesc="An easy to use web radio player"
7 url="https://github.com/Johennes/jRadio"
9 depends=(gtkmm3 vlc libxml2 curl)
12 _gitroot=git://github.com/Johennes/jRadio.git
17 msg "Connecting to GIT server...."
19 if [[ -d "$_gitname" ]]; then
20 cd "$_gitname" && git pull origin
21 msg "The local files are updated."
23 git clone "$_gitroot" "$_gitname"
26 msg "GIT checkout done or server timeout"
27 msg "Starting build..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
37 ./configure --prefix=/usr
42 cd "$srcdir/$_gitname-build"
43 make DESTDIR="$pkgdir/" install
44 install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname
48 gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
52 gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
56 gtk-update-icon-cache -q -t -f usr/share/icons/hicolor