diff options
author | Bo Davidson | 2021-01-03 04:50:12 -0600 |
---|---|---|
committer | Bo Davidson | 2021-01-03 04:50:12 -0600 |
commit | d8783865819da299d5aca77e58265bad556d8488 (patch) | |
tree | c6c810a290b9da1a7ae0508e51b07c63f794098f | |
parent | fa60d4e990afe1278412f3044eb70bc047bef8fd (diff) | |
download | aur-d8783865819da299d5aca77e58265bad556d8488.tar.gz |
changes suggested
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -2,34 +2,26 @@ # Contributor: Paul Davis <paul@dangersalad.com> pkgname=openrgb pkgver=0.5 -pkgrel=1 +pkgrel=2 pkgdesc="Open source RGB lighting control that doesn't depend on manufacturer software." arch=("x86_64") url="https://gitlab.com/CalcProgrammer1/OpenRGB" license=('GPL2') depends=('qt5-base' 'libusb' 'hidapi') -makedepends=('make' 'binutils' 'pkgconf') optdepends=('i2c-tools: Motherboard & RAM access') conflicts=('openrgb-git') provides=("openrgb") -source=("https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_$pkgver/OpenRGB-release_$pkgver.tar.gz" - 'openrgb.desktop' - 'openrgb.conf') -sha256sums=('e227dedfe0c3aa8f3bcb0c4149aa5feb1db4b0429a151423d74c0103c55d7d26' - '2f96f6bcb381490dae7132b9533045dd46db8a0fc9f9ab5d00d952545800c6fc' - 'b5a53d747422f8b594e3e9615e238457d696732efce94050cdd72182a8645ef2') +source=("https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_$pkgver/OpenRGB-release_$pkgver.tar.gz") +sha256sums=('e227dedfe0c3aa8f3bcb0c4149aa5feb1db4b0429a151423d74c0103c55d7d26') build() { cd "OpenRGB-release_$pkgver" + sed -i 's|rules.path=/lib|rules.path=/usr/lib|g' OpenRGB.pro qmake OpenRGB.pro make } package() { cd "$srcdir/OpenRGB-release_$pkgver" - install -Dm755 openrgb "$pkgdir"/usr/bin/openrgb - install -Dm644 qt/OpenRGB.png "$pkgdir"/usr/share/pixmaps/openrgb.png - install -Dm644 -t "$pkgdir"/usr/share/applications ../openrgb.desktop - install -Dm644 -t "$pkgdir"/usr/lib/udev/rules.d 60-openrgb.rules - install -Dm644 -t "$pkgdir"/usr/lib/modules-load.d ../openrgb.conf + make INSTALL_ROOT="$pkgdir" install } |