summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d36bc51200a67613f625be3a8ed721919b5df326 (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
pkgname=now-playing-gtk
pkgver=1.0.0
pkgrel=1
pkgdesc="Minimal GTK now-playing widget using playerctl"
arch=('any')
license=('MIT')

depends=(
    'python'
    'python-gobject'
    'gtk3'
    'python-cairo'
    'playerctl'
    'glib2'
    'gdk-pixbuf2'
)
optdepends=(
    'nerd-fonts: for proper Unicode icons'
)

source=("now-playing-gtk.py" "nowplaying.desktop")
sha256sums=('SKIP' 'SKIP')

package() {
    install -Dm755 now-playing-gtk.py \
        "$pkgdir/usr/bin/now-playing-gtk"

    install -Dm644 nowplaying.desktop \
        "$pkgdir/usr/share/applications/now-playing-gtk.desktop"
}