blob: 917df9826277fb6031e6f554b267db6d0e570b67 (
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
|
# Maintainer: hashworks <mail@hashworks.net>
pkgname=prismatik-psieg
pkgver=5.11.2.31
pkgrel=1
pkgdesc="A controller for usb driven LED backlights (an unofficial fork)"
arch=('x86_64')
url="https://github.com/psieg/Lightpack"
license=('GPL3')
depends=('qt5-serialport' 'hicolor-icon-theme' 'libpulse' 'fftw')
makedepends=('qt5-tools')
provides=('lightpack' 'prismatik')
conflicts=('lightpack' 'prismatik')
install=prismatik.install
source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('f5441bae1f088ae53bbff69f996d2f97307632d10d338b758eaa939d6b4710a9')
build() {
cd "Lightpack-${pkgver}/Software"
qmake -r
make
}
package() {
cd "Lightpack-${pkgver}/Software"
install -Dm755 bin/Prismatik "${pkgdir}/usr/bin/prismatik"
install -Dm644 dist_linux/package_template/etc/udev/rules.d/93-lightpack.rules "${pkgdir}/etc/udev/rules.d/93-lightpack.rules"
install -Dm644 dist_linux/package_template/usr/share/icons/hicolor/22x22/apps/prismatik-on.png "${pkgdir}/usr/share/icons/hicolor/22x22/apps/prismatik-on.png"
install -Dm644 dist_linux/package_template/usr/share/icons/Prismatik.png "${pkgdir}/usr/share/icons/Prismatik.png"
install -Dm644 dist_linux/package_template/usr/share/applications/prismatik.desktop "${pkgdir}/usr/share/applications/prismatik.desktop"
install -Dm644 dist_linux/package_template/usr/share/pixmaps/Prismatik.png "${pkgdir}/usr/share/pixmaps/Prismatik.png"
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|