# Maintainer: mirandir # Old maintainer: Maxime Gauduin pkgname=rhythmbox-plugin-alternative-toolbar-git pkgver=0.r291.c5b9af4 pkgrel=2 pkgdesc='Replace the Rhythmbox large toolbar with a Client-Side Decorated or Compact Toolbar which can be hidden' url='https://github.com/fossfreedom/alternative-toolbar' arch=('any') license=('GPL3') depends=('python-gobject' 'python-lxml' 'rhythmbox') makedepends=('git' 'gettext' 'intltool') provides=('rhythmbox-plugin-alternative-toolbar') conflicts=('rhythmbox-plugin-alternative-toolbar') install='rhythmbox-plugin-alternative-toolbar.install' source=('rhythmbox-plugin-alternative-toolbar::git+https://github.com/fossfreedom/alternative-toolbar.git' 'rb.patch') sha256sums=('SKIP' '0e41843a342ec21e3838013856dd21ffcf178bdc05441dbc84da2e476e7aab3b') pkgver() { cd rhythmbox-plugin-alternative-toolbar echo "0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } package() { cd rhythmbox-plugin-alternative-toolbar patch -lp0 < ../rb.patch ./autogen.sh --prefix=${pkgdir}/usr make make install rm ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled }