diff --git a/README.md b/README.md index b6ec507..6e1100d 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,20 @@ -# PinePhone Toolkit +# PinePhone Toolkit (PPTK) A collection of tools and utility apps for the PINE64 PinePhone. ## Components ### backlight Get / Set backlight brightness. -## Building +``` +$ pptk-backlight get +4 +$ pptk-backlight set 6 +``` + +## Build & Install ``` $ meson build $ cd build $ ninja +$ sudo ninja install ``` diff --git a/meson.build b/meson.build index 4b2ca4a..99590e2 100644 --- a/meson.build +++ b/meson.build @@ -1,2 +1,3 @@ project('PinePhone Toolkit', 'c') -executable('pptk-backlight', ['src/backlight.c']) +executable('pptk-backlight', ['src/backlight.c'], + install: true, install_mode: ['rwsr-xr-x', 0, 0])