summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62af50748a2e2bc62a4fdb095e94488a5bebb4fa (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
# Maintainer: aksr <aksr at t-com dot me>
pkgname=blueshift-git
pkgver=1.90.5.r15.gbb1758e
pkgrel=1
epoch=
pkgdesc="An extensible and highly configurable alternative to redshift."
arch=('any')
url="https://github.com/maandree/blueshift"
license=('GPLv3')
groups=()
depends=('python' 'pylibgamma' 'solar-python' 'argparser' 'libxcb' 'adjbacklight' 'wget' 'auto-auto-complete')
makedepends=('git' 'zip')
optdepends=()
checkdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
changelog=
install=
source=("$pkgname::git+https://github.com/maandree/blueshift")
noextract=()
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir/" LIBEXEC="/lib/blueshift/" install
}