diff options
author | 0xzer0x | 2023-12-08 10:45:56 +0200 |
---|---|---|
committer | 0xzer0x | 2023-12-08 10:45:56 +0200 |
commit | 5f69cf2439e7feab6f43909325a97bb9b6508c44 (patch) | |
tree | a7ddb5ec47f33b7d01da703eb526033e97da77ee | |
parent | efc0ba2936d480e9761a40db7c37a284020d2883 (diff) | |
download | aur-5f69cf2439e7feab6f43909325a97bb9b6508c44.tar.gz |
remove sudo from install commands
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -26,17 +26,17 @@ build() { git checkout v$pkgver cmake -S ./ \ -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \ -DCMAKE_BUILD_TYPE=Release ninja } package() { cd "${srcdir}/${_pkgname}" - sudo cmake --install . - sudo install -D dist/xdg/io.github._0xzer0x.qurancompanion.desktop ${pkgdir}/usr/share/applications/ - sudo install -Dm644 dist/xdg/logo64.png ${pkgdir}/usr/share/icons/hicolor/64x64/apps/io.github._0xzer0x.qurancompanion.png - sudo install -Dm644 dist/xdg/logo128.png ${pkgdir}/usr/share/icons/hicolor/128x128/apps/io.github._0xzer0x.qurancompanion.png - sudo install -Dm644 dist/xdg/logo256.png ${pkgdir}/usr/share/icons/hicolor/256x256/apps/io.github._0xzer0x.qurancompanion.png + cmake --install . + install -D dist/xdg/io.github._0xzer0x.qurancompanion.desktop ${pkgdir}/usr/share/applications/ + install -Dm644 dist/xdg/logo64.png ${pkgdir}/usr/share/icons/hicolor/64x64/apps/io.github._0xzer0x.qurancompanion.png + install -Dm644 dist/xdg/logo128.png ${pkgdir}/usr/share/icons/hicolor/128x128/apps/io.github._0xzer0x.qurancompanion.png + install -Dm644 dist/xdg/logo256.png ${pkgdir}/usr/share/icons/hicolor/256x256/apps/io.github._0xzer0x.qurancompanion.png } |