diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..41cfcd5c749d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> + +pkgname=rhythmbox-plugin-alternative-toolbar-git +pkgver=0.r75.1f2c699 +pkgrel=1 +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') +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') +sha256sums=('SKIP') + +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 + + install -dm 755 "${pkgdir}"/usr/{lib,share}/rhythmbox/plugins/alternative-toolbar + cp -dr --no-preserve='ownership' alternative-toolbar.plugin *.py "${pkgdir}"/usr/lib/rhythmbox/plugins/alternative-toolbar/ + python -m compileall "${pkgdir}"/usr/lib/rhythmbox/plugins/alternative-toolbar + python -O -m compileall "${pkgdir}"/usr/lib/rhythmbox/plugins/alternative-toolbar + cp -dr --no-preserve='ownership' img ui "${pkgdir}"/usr/share/rhythmbox/plugins/alternative-toolbar/ + install -dm 755 "${pkgdir}"/usr/share/glib-2.0/schemas + install -m 644 schema/org.gnome.rhythmbox.plugins.alternative_toolbar.gschema.xml "${pkgdir}"/usr/share/glib-2.0/schemas/ +} + +# vim: ts=2 sw=2 et: |