1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-11-11 13:50:52 -05:00

Add install.sh

#158
This commit is contained in:
Raymond Li 2020-05-10 15:13:17 -04:00
parent 99daabf58d
commit ac8390ba66
No known key found for this signature in database
GPG key ID: A014EA89B62BBB1B
2 changed files with 20 additions and 1 deletions

View file

@ -85,13 +85,21 @@ If there's no packaged version available - think carefully, since you're using a
**If you want to build a non-debug version, you should tag your build before configuring.** For example: `git tag -f "git-$(git rev-parse --short HEAD)"` will add a tag with the short commit ID, which will be used for the version info. Issues asking about ASAN/complaints about i3lock-color being slow / etc will likely be closed. i3lock-color uses GNU autotools for building.
To build i3lock-color, first install the dependencies listed above, then clone the repo and run the build script:
To use i3lock-color, first install the dependencies listed above, then clone the repo:
```
git clone https://github.com/Raymo111/i3lock-color.git
cd i3lock-color
```
To build without installing, run:
```
chmod +x build.sh
./build.sh
```
To install after building, run:
```
chmod +x install.sh
./install.sh
```
You may choose to modify the script based on your needs/OS/distro.
## Arch Linux Packages

11
install.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
autoreconf -fiv
rm -rf build/
mkdir -p build && cd build/
../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers
make install
install -Dm644 LICENSE "/usr/share/licenses/i3lock-color/LICENSE"