Mercurial > louis > pkgbuild-lightsd
comparison PKGBUILD @ 1:80a4575a0c0c
Stop following the github documentation about download links
It's retarded.
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Sat, 05 Sep 2015 23:07:15 -0700 |
parents | 6d2f2e776ddc |
children | 9b9f36cf500c |
comparison
equal
deleted
inserted
replaced
0:6d2f2e776ddc | 1:80a4575a0c0c |
---|---|
1 # Maintainer: Louis Opter <kalessin@kalessin.fr> | 1 # Maintainer: Louis Opter <kalessin@kalessin.fr> |
2 | 2 |
3 pkgname=lightsd | 3 pkgname=lightsd |
4 pkgver=0.9.1 | 4 pkgver=0.9.1 |
5 pkgrel=1 | 5 pkgrel=2 |
6 epoch=1 | 6 epoch=1 |
7 pkgdesc="Daemon to control your LIFX smart bulbs via a JSON-RPC API" | 7 pkgdesc="Daemon to control your LIFX smart bulbs via a JSON-RPC API" |
8 arch=("i686" "x86_64") | 8 arch=("i686" "x86_64") |
9 url="https://www.github.com/lopter/lightsd/" | 9 url="https://www.github.com/lopter/lightsd/" |
10 license=("GPL3") | 10 license=("GPL3") |
11 depends=("libevent>=2.0.19" "libbsd>=0.5.0") | 11 depends=("libevent>=2.0.19" "libbsd>=0.5.0") |
12 optdepends=("python: to run the interactive lightsc.py example client") | 12 optdepends=("python: to run the interactive lightsc.py example client") |
13 makedepends=("cmake>=2.8.11") | 13 makedepends=("cmake>=2.8.11") |
14 source=("https://api.github.com/repos/lopter/$pkgname/tarball/$pkgver") | 14 source=("https://github.com/lopter/lightsd/archive/${pkgver}.tar.gz") |
15 sha256sums=("ef4f8056bf39c8f2c440e442f047cafce1c102e565bb007791a27f77588157c2") | 15 sha256sums=("72eba6074ed18609fb0caf7b7429e1b8f6c3564ca6f81357be22c06ac00956b6") |
16 | |
17 prepare() { | |
18 cd "$srcdir" | |
19 | |
20 mv lopter-lightsd-* "$pkgname-$pkgver" | |
21 } | |
22 | 16 |
23 build() { | 17 build() { |
24 cd "$srcdir/$pkgname-$pkgver" | 18 cd "$srcdir/$pkgname-$pkgver" |
25 | 19 |
26 cmake \ | 20 cmake \ |