summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a9f07b7bec683a6b23d9fb0f91af4cc079e9f191 (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
# Maintainer:  twa022 <twa022 at gmail dot com>
# Contributor: Peter Lamby <peterlamby@web.de>

pkgname=libmpris2client
pkgver=0.1.0+7+g2de25d1
pkgrel=1
pkgdesc="A glib library for controlling any mpris2 compatible player."
arch=('i686' 'x86_64')
url="https://github.com/matiasdelellis/libmpris2client"
license=('GPL2')
depends=('gtk3')
#source=(https://github.com/matiasdelellis/$pkgname/releases/download/V$pkgver/$pkgname-$pkgver.tar.bz2)
source=("git+https://github.com/matiasdelellis/libmpris2client.git#commit=${_commit}")
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname}"
  git describe --long --tags | sed -r "s/^V//;s/-/+/g"
}

build() {
  cd "${pkgname}"
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/lib 
  make
}

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