blob: e2298512b3a4c7f975854a0d85b889b6ed924c09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Omar Pakker <omar.pakker@oracle.com>
pkgname=rhythmbox-plugin-rhythmboxfullscreen-git
pkgver=r65.a508b49
pkgrel=1
pkgdesc="A full screen window for Rhythmbox."
arch=('any')
url="https://github.com/benjaoming/rhythmbox-fullscreen"
license=('GPL2')
depends=('rhythmbox' 'python-cairo')
makedepends=('git')
provides=('rhythmbox-plugin-rhythmboxfullscreen')
conflicts=('rhythmbox-plugin-rhythmboxfullscreen')
options=('!emptydirs')
install=rhythmbox-plugin-rhythmboxfullscreen.install
changelog=
source=("git+https://github.com/benjaoming/rhythmbox-fullscreen.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/rhythmbox-fullscreen"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/rhythmbox-fullscreen"
# Schema
install -Dm644 -t "${pkgdir}/usr/share/glib-2.0/schemas/" "schema/org.gnome.rhythmbox.plugins.rhythmboxfullscreen.gschema.xml"
# The plugin itself
install -Dm644 -t "${pkgdir}/usr/lib/rhythmbox/plugins/RhythmboxFullscreen/" *.py
install -Dm644 "RhythmboxFullscreen.plugin3" "${pkgdir}/usr/lib/rhythmbox/plugins/RhythmboxFullscreen/RhythmboxFullscreen.plugin"
# Assets
install -Dm644 -t "${pkgdir}/usr/share/rhythmbox/plugins/RhythmboxFullscreen/ui/" "ui/"*
install -Dm644 -t "${pkgdir}/usr/share/rhythmbox/plugins/RhythmboxFullscreen/img/" "img/"*
}
|