blob: 07e3669963b1b4a6bd97ac40b768f11fe1966b2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Felipe Alfonso Gonzalez <f.alfonso@res-ear.ch>
pkgname=novanav
pkgver=0.0.9
pkgrel=1
pkgdesc="NovaNav: Lightweight browser for Linux written in C++, delivering fast, distraction-free browsing experience."
arch=('x86_64')
url="https://github.com/felipealfonsog/NovaNav"
license=('BSD-3-Clause')
depends=('qt5-base' 'qt5-webengine')
source=("https://github.com/felipealfonsog/NovaNav/archive/refs/tags/v.${pkgver}.tar.gz")
sha256sums=('027cd824e9c2e6eeaf59138018288ff3290d32d9978e2640aa0b7527a16f9f5f')
prepare() {
tar xf "v.${pkgver}.tar.gz" -C "$srcdir" --strip-components=1
}
build() {
cd "${srcdir}/NovaNav-v.${pkgver}/src/cpp"
qmake PREFIX=/usr # Remove /usr/local from PREFIX
make
}
package() {
cd "${srcdir}/NovaNav-v.${pkgver}/src/cpp"
# Install the binary to /usr/local/bin
install -Dm755 novanav "${pkgdir}/usr/local/bin/novanav"
# Install the icon
install -Dm644 "${srcdir}/NovaNav-v.${pkgver}/src/nnav-iconlogo.png" "${pkgdir}/usr/share/pixmaps/novanav.png"
# Install the .desktop file
install -Dm644 "${srcdir}/NovaNav-v.${pkgver}/src/novanav.desktop" "${pkgdir}/usr/share/applications/novanav.desktop"
}
|