mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Update installation instructions
This commit is contained in:
parent
5c1fccdcfa
commit
61fae5bb0d
2 changed files with 24 additions and 16 deletions
16
README.md
16
README.md
|
@ -11,7 +11,18 @@ Join the discussion on Matrix [#nheko:matrix.org](https://matrix.to/#/#nheko:mat
|
||||||
Most of the features you'd expect from a chat application are missing right now
|
Most of the features you'd expect from a chat application are missing right now
|
||||||
but you can of course receive and send messages in the rooms that you are a member of.
|
but you can of course receive and send messages in the rooms that you are a member of.
|
||||||
|
|
||||||
### Requirements
|
### Installation
|
||||||
|
|
||||||
|
#### Arch Linux
|
||||||
|
```bash
|
||||||
|
pacaur -S nheko-git
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Windows
|
||||||
|
|
||||||
|
You can find a NSIS installer [here](https://ci.appveyor.com/project/mujx/nheko/branch/master/artifacts).
|
||||||
|
|
||||||
|
### Build Requirements
|
||||||
|
|
||||||
- Qt5 (5.7 or greater). Qt 5.7 adds support for color font rendering with
|
- Qt5 (5.7 or greater). Qt 5.7 adds support for color font rendering with
|
||||||
Freetype, which is essential to properly support emoji.
|
Freetype, which is essential to properly support emoji.
|
||||||
|
@ -54,9 +65,6 @@ make -C build
|
||||||
|
|
||||||
The `nheko` binary will be located in the `build` directory.
|
The `nheko` binary will be located in the `build` directory.
|
||||||
|
|
||||||
[Here](https://ci.appveyor.com/project/mujx/nheko/branch/master/artifacts) you can
|
|
||||||
find development builds for Windows.
|
|
||||||
|
|
||||||
### Contributing
|
### Contributing
|
||||||
|
|
||||||
Any kind of contribution to the project is greatly appreciated. You are also
|
Any kind of contribution to the project is greatly appreciated. You are also
|
||||||
|
|
24
dist/AUR/PKGBUILD
vendored
24
dist/AUR/PKGBUILD
vendored
|
@ -27,23 +27,23 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
# Creating needed directories
|
# Creating needed directories
|
||||||
install -dm755 "$pkgdir/usr/bin"
|
install -dm755 "$pkgdir/usr/bin"
|
||||||
install -dm755 "$pkgdir/usr/share/pixmaps/"
|
install -dm755 "$pkgdir/usr/share/pixmaps/"
|
||||||
install -dm755 "$pkgdir/usr/share/applications/"
|
install -dm755 "$pkgdir/usr/share/applications/"
|
||||||
|
|
||||||
# Program
|
# Program
|
||||||
install -Dm755 "$pkgname/build/nheko" "$pkgdir/usr/bin/nheko"
|
install -Dm755 "$pkgname/build/nheko" "$pkgdir/usr/bin/nheko"
|
||||||
|
|
||||||
# Desktop launcher
|
# Desktop launcher
|
||||||
install -Dm644 "$srcdir/$pkgname/resources/nheko-256.png" "$pkgdir/usr/share/pixmaps/nheko.png"
|
install -Dm644 "$srcdir/$pkgname/resources/nheko-256.png" "$pkgdir/usr/share/pixmaps/nheko.png"
|
||||||
install -Dm644 "$srcdir/$pkgname/resources/nheko.desktop" "$pkgdir/usr/share/applications/nheko.desktop"
|
install -Dm644 "$srcdir/$pkgname/resources/nheko.desktop" "$pkgdir/usr/share/applications/nheko.desktop"
|
||||||
|
|
||||||
# Icons
|
# Icons
|
||||||
local icon_size icon_dir
|
local icon_size icon_dir
|
||||||
for icon_size in 16 32 48 64 128 256 512; do
|
for icon_size in 16 32 48 64 128 256 512; do
|
||||||
icon_dir="$pkgdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
|
icon_dir="$pkgdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
|
||||||
install -d "$icon_dir"
|
install -d "$icon_dir"
|
||||||
install -m644 "$srcdir/$pkgname/resources/nheko-${icon_size}.png" "$icon_dir/nheko.png"
|
install -m644 "$srcdir/$pkgname/resources/nheko-${icon_size}.png" "$icon_dir/nheko.png"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue