summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f8d2a9a16aa3a81ab8b8acc2983b620cdf380f12 (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: Patrick Burroughs (Celti) <celti@celti.name>
# Contributor: Keerthan Jaic <jckeerthan at gmail dot com

pkgname=nuvolaplayer-git
pkgver=2015.07.06.c86a837
pkgrel=1
pkgdesc="Cloud music integration for your Linux desktop."
arch=('i686' 'x86_64')
url="https://tiliado.eu/nuvolaplayer/"
license=('GPL')
makedepends=('git' 'python')
depends=('diorite-git' 'vala' 'webkit2gtk' 'libarchive' 'gtk3' 'libnotify' 'json-glib')
source=("$pkgname::git://github.com/tiliado/nuvolaplayer")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git log -1 --format="%cd.%h" --date=short | sed 's:-:.:g'
}

build() {
  cd "$pkgname"
  python ./waf configure --prefix=/usr
  python ./waf build
}

package() {
  cd "$pkgname"
  python ./waf install --no-system-hooks --destdir="${pkgdir}"
}