blob: e4d2f3db76bbfc87f05c9cec4c1e3366dfc687c0 (
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
|
# Maintainer: Gabriele Musco <emaildigabry@gmail.com>
# Upstream URL: https://github.com/gabmus/ardhue
pkgname=ardhue-git
pkgver=b1c6819
pkgrel=1
pkgdesc='Interface to control ArdHue Arduino based digital RGB system'
arch=('any')
url='https://gitlab.com/gabmus/ardhue'
license=('GPL3')
depends=('python-pyserial' 'gtk3>=3.14' 'python' 'python-gmgtk' 'python-gmconfig')
makedepends=('git' 'meson')
provides=('ardhue')
conflicts=('ardhue')
source=("ardhue::git+https://gitlab.com/gabmus/ardhue")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/ardhue"
git describe --always --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/ardhue"
rm -rf build
mkdir build
cd build
meson --prefix /usr --buildtype release ..
ninja
}
package() {
cd "$srcdir/ardhue"
cd build
DESTDIR="$pkgdir" ninja install
}
|