1 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Tim Yang <tdy@gmx.com>
3 # Contributor: Skottish <skottish97215@gmail.com>
8 pkgdesc="A lightweight GTK+ client for MPD and XMMS2 inspired by Rhythmbox."
10 url="http://ario-player.sourceforge.net/"
12 depends=('avahi' 'curl' 'libglade' 'libsoup>=2.4' 'taglib')
13 makedepends=('intltool' 'libnotify' 'perlxml' 'pkgconfig' 'subversion')
20 _svntrunk="https://ario-player.svn.sourceforge.net/svnroot/ario-player/trunk"
26 msg "Connecting to the $_svnmod SVN server..."
27 if [ -d "$_svnmod/.svn" ]; then
28 cd $_svnmod && svn up -r $pkgver
29 msg2 "Local files updated"
31 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
32 msg2 "SVN checkout done"
35 rm -rf "${srcdir}/$_svnmod-build"
36 cp -r "${srcdir}/$_svnmod" "${srcdir}/$_svnmod-build"
37 cd "${srcdir}/$_svnmod-build"
39 msg "Starting make..."
40 ./autogen.sh --prefix=/usr || return 1
42 make DESTDIR="${pkgdir}" install || return 1
44 install -dm755 "${pkgdir}/usr/share/pixmaps"
45 ln -sf /usr/share/icons/hicolor/48x48/apps/ario.png \
46 "${pkgdir}/usr/share/pixmaps/ario.png"
47 install -Dm644 data/ario.desktop "${pkgdir}/usr/share/applications/ario.desktop"