Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
5c1fccdc
Commit
5c1fccdc
authored
7 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Add PKGBUILD
Thanks @ha:matrix.org for the initial script
parent
e78e43c8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dist/AUR/PKGBUILD
+49
-0
49 additions, 0 deletions
dist/AUR/PKGBUILD
resources/nheko.desktop
+11
-0
11 additions, 0 deletions
resources/nheko.desktop
with
60 additions
and
0 deletions
dist/AUR/PKGBUILD
0 → 100644
+
49
−
0
View file @
5c1fccdc
# Maintainer: Konstantinos Sideris <siderisk at auth dot gr>
pkgname
=
nheko-git
pkgver
=
0.1.0.e78e43c86a39
pkgrel
=
1
pkgdesc
=
"Desktop client for the Matrix protocol"
arch
=(
'i686'
'x86_64'
)
url
=
"https://github.com/mujx/nheko"
license
=(
'GPL3'
)
depends
=(
'qt5-base'
)
makedepends
=(
'git'
'cmake'
'gcc'
'fontconfig'
)
source
=(
$pkgname
::git+https://github.com/mujx/nheko.git
)
md5sums
=(
'SKIP'
)
pkgver
()
{
cd
"
$pkgname
"
printf
"0.1.0.%s"
"
$(
git rev-parse
--short
HEAD
)
"
}
build
()
{
cd
"
$pkgname
"
cmake
-H
.
-Bbuild
-DCMAKE_BUILD_TYPE
=
Release
make
-C
build
-j2
}
package
()
{
# Creating needed directories
install
-dm755
"
$pkgdir
/usr/bin"
install
-dm755
"
$pkgdir
/usr/share/pixmaps/"
install
-dm755
"
$pkgdir
/usr/share/applications/"
# Program
install
-Dm755
"
$pkgname
/build/nheko"
"
$pkgdir
/usr/bin/nheko"
# Desktop launcher
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"
# Icons
local
icon_size icon_dir
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"
install
-d
"
$icon_dir
"
install
-m644
"
$srcdir
/
$pkgname
/resources/nheko-
${
icon_size
}
.png"
"
$icon_dir
/nheko.png"
done
}
This diff is collapsed.
Click to expand it.
resources/nheko.desktop
0 → 100644
+
11
−
0
View file @
5c1fccdc
[Desktop Entry]
Name=nheko
Version=0.1
Comment=Desktop client for Matrix
Exec=nheko
Icon=nheko
Type=Application
Categories=Network;InstantMessaging;Qt;
Encoding=UTF-8
StartupWMClass=nheko
Terminal=false
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment