summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViliam Ganz2015-09-20 19:27:33 +0200
committerViliam Ganz2015-09-20 19:27:33 +0200
commit06825159189f44ae0c29f4ff056c9eab24f57d48 (patch)
tree4300f0607de8fd3b7531c411e3a101215f0a458d
parent0be2bb0ca20bbe7cc4538fa5ffbf312599102f8a (diff)
downloadaur-06825159189f44ae0c29f4ff056c9eab24f57d48.tar.gz
replaced mkdir with install
-rw-r--r--PKGBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7c53bf27f80..6dba94a9e2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Viliam Ganz <viliam.ganz@gmail.com>
pkgname=nvidia-xrun
pkgver=0.1
-pkgrel=2
+pkgrel=3
epoch=
pkgdesc="Script to run dedicated X server with discrete nvidia graphics"
arch=("x86_64")
@@ -26,12 +26,8 @@ validpgpkeys=()
package() {
cd "$pkgname-$pkgver"
- mkdir -p "$pkgdir/etc/X11/"
- mkdir -p "$pkgdir/etc/X11/xinit"
- mkdir -p "$pkgdir/etc/X11/nvidia.xorg.config.d"
- cp nvidia-xorg.conf "$pkgdir/etc/X11/nvidia-xorg.conf"
- cp nvidia-xinitrc "$pkgdir/etc/X11/xinit/nvidia-xinitrc"
- mkdir -p "$pkgdir/usr/bin"
- cp nvidia-xrun "$pkgdir/usr/bin/nvidia-xrun"
+ install -Dm 644 nvidia-xorg.conf "$pkgdir/etc/X11/nvidia-xorg.conf"
+ install -Dm 644 nvidia-xinitrc "$pkgdir/etc/X11/xinit/nvidia-xinitrc"
+ install -Dm 755 nvidia-xrun "$pkgdir/usr/bin/nvidia-xrun"
}
md5sums=('96ee491905ff47e8cd35e9e0fddcd502')