summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34167f45025b1ea8f2bb561482ee14cf02fba93c (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
35
36
37
38
39
40
41
42
# Maintainer: pkg_maintainer <archlinuxpackagemaintainer@gmail.com>
pkgname=neon-browser-git
pkgver=0.r33.26f2fe6.BETA
pkgrel=1
epoch=
pkgdesc="A minimalistic web browser"
arch=('x86_64')
url="https://www.gitlab.com/NEON-MMD/neon-browser.git"
license=('GPL3')
groups=()
depends=(python-pyqt5 python-pyqt5-3d python-pyqt5-chart python-pyqt5-datavisualization python-pyqt5-networkauth python-pyqt5-purchasing python-pyqt5-webengine)
makedepends=(git)
checkdepends=()
optdepends=(privoxy)
provides=(neon-browser-git)
conflicts=()
replaces=()
backup=()
options=()
install=${pkgname}.install
changelog=
source=("git+$url")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

pkgver() {
	cd neon-browser
    printf "0.r%s.%s.BETA" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd neon-browser/src
    mkdir -p ${pkgdir}/opt/
    mkdir -p ${pkgdir}/etc/xdg/
    cp -rf modules/ ${pkgdir}/opt/
    cp -rf neonBrowser/ ${pkgdir}/etc/xdg/
    install -Dm755 neon-browser.py "${pkgdir}/usr/bin/neon-browser" 
    install -Dm644 ../README.org "${pkgdir}/usr/share/doc/${pkgname}/README.org"
    install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}