summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 261c94a48d89b867261e5f5a471ccf4255991fa3 (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: David Baum <david.baum@naraesk.eu>
pkgname=luminance-git
pkgver=21
pkgrel=1
pkgdesc="Luminance is a Philips Hue client for Linux written in Python and GTK+"
arch=('any')
url="https://github.com/craigcabrey/luminance"
license=('GPL2')
groups=()
depends=('python' 'dconf' 'hicolor-icon-theme')
makedepends=('git' 'autoconf' 'python' 'python-requests' 'gtk3' 'pygobject-devel')
optdepends=()
provides=()
conflicts=('')
replaces=()
backup=()
options=()
install=()
changelog=()
source=('git+https://github.com/craigcabrey/luminance.git')
noextract=()
md5sums=('SKIP')

pkgver() {
  cd luminance
  git rev-list --count HEAD
}

build() {
  cd luminance
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

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