aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9757f0a..ce2e5f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,8 +17,7 @@ md5sums=('bda07a9d91a9dd8538d9a7a26562de69'
'808282b4d6cf58dacf16fae6068bd030')
package() {
- install -Dd "$pkgdir"/opt/OpenHexagon1.92
- cp -r OpenHexagon1.92/ "$pkgdir"/opt/
+ install -D OpenHexagon1.92 "$pkgdir"/opt/OpenHexagon1.92
install -Dd "$pkgdir"/usr/bin
ln -s /opt/OpenHexagon1.92/OpenHexagon "$pkgdir"/usr/bin/openhexagon
@@ -26,7 +25,7 @@ package() {
# Need world writeable Profiles for creating profiles and config for... config
chmod 777 "$pkgdir"/opt/OpenHexagon1.92/{Profiles,config.json}
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim: set ts=4 sw=4 noet: