summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58cca072289f8dbfedee31f5639d0fada3298205 (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
39
# Maintainer: Max Reitz <xanclic at xanclic dot moe>
pkgname=krunner-mpd-git
pkgver=r47.540151e
pkgrel=1
pkgdesc="KRunner plugin to control an MPD server"
arch=('any')
url="https://github.com/XanClic/krunner-mpd"
license=('GPL3')
depends=('dbus'
         'plasma-workspace'
         'ruby'
         'ruby-dbus'
         'ruby-i18n'
         'ruby-locale'
         'ruby-ruby-mpd')
makedepends=('coreutils'
             'kdelibs4support'
             'make')
provides=('krunner-mpd')
conflicts=('krunner-mpd')
install=$pkgname.install
source=("$pkgname::git://github.com/XanClic/krunner-mpd.git")
md5sums=('SKIP')

build() {
    cd "$pkgname"
    ./configure --prefix=/usr --skip-bundle-install
    make
}

pkgver() {
    cd "$pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$pkgname"
    make DESTDIR="$pkgdir/" install
}