summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Hartmann2017-09-20 01:45:30 +0200
committerJulien Hartmann2017-09-20 01:45:30 +0200
commitfd8424a1904a432c69d9638733dd10e3d58ce26f (patch)
tree14feb3f78538a2023c86d4e9d8f33ca912a02d02
parent3b4bb10353a9de9d4c832bd8e8b6fb8db2585409 (diff)
downloadaur-fd8424a1904a432c69d9638733dd10e3d58ce26f.tar.gz
Fix installation paths for links
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dedbf2d9ce1..bbf34d02153 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,7 @@ source=("https://github.com/spectras/keyleds/archive/v$pkgver/$pkgname-$pkgver.t
build() {
cd "$pkgname-$pkgver/build"
- cmake -DCMAKE_BUILD_TYPE=RelSize -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
+ cmake -DCMAKE_BUILD_TYPE=RelSize -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib ..
make
gzip -9 ../keyledsd/keyledsd.1 -c > keyledsd.1.gz
gzip -9 ../keyledsctl/keyledsctl.1 -c > keyledsctl.1.gz
@@ -39,8 +39,8 @@ package() {
install -d "$pkgdir/etc/xdg/autostart"
ln -s /usr/share/keyledsd/keyledsd.desktop "$pkgdir/etc/xdg/autostart/"
install -m 644 -D logitech.rules "$pkgdir/usr/share/keyledsd/logitech.rules"
- install -d "$pkgdir/lib/udev/rules.d/"
- ln -s /usr/share/keyledsd/logitech.rules "$pkgdir/lib/udev/rules.d/70-logitech-hidpp.rules"
+ install -d "$pkgdir/usr/lib/udev/rules.d/"
+ ln -s /usr/share/keyledsd/logitech.rules "$pkgdir/usr/lib/udev/rules.d/70-logitech-hidpp.rules"
install -m 644 -D build/keyledsd.1.gz "$pkgdir/usr/share/man/man1/keyledsd.1"
install -m 644 -D build/keyledsctl.1.gz "$pkgdir/usr/share/man/man1/keyledsctl.1"
}