diff options
author | hashworks | 2019-10-11 18:03:52 +0200 |
---|---|---|
committer | hashworks | 2019-10-11 18:03:52 +0200 |
commit | 92d16d44acfa5d5cfee4f2813de8e8d9f38de002 (patch) | |
tree | 6222e2a18a017bc4aac7dc1a35cfc1ed2a303425 /PKGBUILD | |
parent | dd260ca0ed03af5b1006798a910322f33d4b5ec5 (diff) | |
download | aur-92d16d44acfa5d5cfee4f2813de8e8d9f38de002.tar.gz |
Use upstream binary package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 41 |
1 files changed, 10 insertions, 31 deletions
@@ -1,41 +1,20 @@ +# Maintainer: hashworks <mail@hashworks.net> + pkgname=prismatik -_sname=Lightpack pkgver=5.11.2 -pkgrel=2 -pkgdesc="A controler for usb driven LED backlights." -arch=('i686' 'x86_64') +pkgrel=3 +pkgdesc="A controller for usb driven LED backlights." +arch=('x86_64') url="https://github.com/woodenshark/Lightpack" license=('GPL3') depends=('qt5-serialport' 'libxkbcommon-x11') -makedepends=('git' 'libusb' 'pkg-config') provides=('lightpack' 'prismatik') conflicts=('prismatik-git') -install='prismatik.install' -source=( - "https://github.com/woodenshark/${_sname}/archive/${pkgver}.tar.gz" - "include_qdatastream.patch" -) -sha256sums=( - '09163cd082b2c49170c838f06820a13e7afb2c615e3aba523c8b46206325df43' - '788d7bb283a80913d07eeb7b0ed66c00da0869ea71f72861a4c503061ef9075d' -) - -build() { - cd "$_sname-$pkgver/Software" - patch -p1 -i ${srcdir}/include_qdatastream.patch - qmake-qt5 -recursive - make -} - -check() { - cd "$_sname-$pkgver/Software" - make check -} +install=prismatik.install +source=(https://github.com/woodenshark/Lightpack/releases/download/${pkgver}/prismatik_${pkgver}_amd64.deb) +sha256sums=('a97f88a9eec9f91b076d2f6b6117b03470fff71e9b18fe595ebe377220871c6f') package() { - cd "$_sname-$pkgver" - install -Dm755 "Software/src/bin/Prismatik" "${pkgdir}/usr/bin/prismatik" - install -Dm644 "Software/dist_linux/deb/etc/udev/rules.d/93-lightpack.rules" "${pkgdir}/etc/udev/rules.d/93-lightpack.rules" - install -Dm644 "README.md" "${pkgdir}/usr/share/doc/prismatik/README.md" - install -Dm644 "Software/CHANGELOG" "${pkgdir}/usr/share/doc/prismatik/CHANGELOG" + tar xf data.tar.xz -C "${pkgdir}" + chmod -R g-w "${pkgdir}" } |