summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fb68e17d130ba817ee0f4f9d4e2af695cde4da96 (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
# Maintainer: Elrondo46 TuxnVape <elrond94@hotmail.com>

pkgname=jupyter-notebook-launcher
pkgver=1
pkgrel=1
pkgdesc="Choose the directory and the browser in which the notebook is launched in a configurable lists of choices"
arch=('any')
license=('GPL3')
url="https://github.com/gads31400/Jupyter_notebook_launcher.git"
depends=('zenity' 'terminator' 'jupyter')
source=("git+https://github.com/gads31400/Jupyter_notebook_launcher.git")

sha256sums=('SKIP')

pkgver() {
    # Identify latest version.
    cd "$srcdir"
    git log -1 --format="%cd" --date=short | sed 's|-||g'
}

package() {
	    rm -rf "${srcdir}/Jupyter_notebook_launcher/Makefile"
        install -Dm644 "${srcdir}/Jupyter_notebook_launcher/jupyter.sh" "${pkgdir}/usr/bin/jupyter.sh"
        install -Dm644 "${srcdir}/Jupyter_notebook_launcher/jupyter.desktop" "${pkgdir}/usr/share/applications/jupyter.desktop"
        install -Dm644 "${srcdir}/Jupyter_notebook_launcher/jupyter.png" "${pkgdir}/usr/share/pixmaps/jupyter.png"
	    install -Dm644 "${srcdir}/Jupyter_notebook_launcher/dir_jupyter.txt" "${pkgdir}/usr/share/jupyter/dir_jupyter.txt"

}