Created
March 29, 2026 08:00
-
-
Save intentionally-left-nil/9f1a2595af5d25603eb1b28df0926403 to your computer and use it in GitHub Desktop.
nteract 2.0 PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pkgname=nteract-bin | |
| pkgver=2.0.4_stable.202603271826 | |
| pkgrel=1 | |
| pkgdesc="Native interactive notebooks" | |
| arch=('x86_64') | |
| url="https://github.com/nteract/desktop" | |
| license=('BSD-3-Clause') | |
| depends=('webkit2gtk-4.1' 'gtk3' 'openssl') | |
| provides=('nteract') | |
| conflicts=('nteract') | |
| options=('!strip' '!debug') | |
| source=("${pkgname}-${pkgver}.deb::https://github.com/nteract/desktop/releases/download/v2.0.4-stable.202603271826/nteract-stable-linux-x64.deb" | |
| "LICENSE::https://raw.githubusercontent.com/nteract/desktop/main/LICENSE") | |
| sha256sums=('29d27851a81ebd272547d779c882c842adba96a226c90febe5e8502071ce052b' | |
| '2a8015873382ee8cf0754fe9e3558a7c74a71425e5270d59acaaf234f73cf9b5') | |
| noextract=("${pkgname}-${pkgver}.deb") | |
| prepare() { | |
| cd "${srcdir}" | |
| ar x "${pkgname}-${pkgver}.deb" | |
| tar xzf data.tar.gz | |
| } | |
| package() { | |
| # Binaries | |
| install -Dm755 "${srcdir}/usr/bin/notebook" "${pkgdir}/usr/bin/notebook" | |
| install -Dm755 "${srcdir}/usr/bin/runtimed" "${pkgdir}/usr/bin/runtimed" | |
| install -Dm755 "${srcdir}/usr/bin/runt" "${pkgdir}/usr/bin/runt" | |
| # Desktop entry | |
| install -Dm644 "${srcdir}/usr/share/applications/nteract.desktop" \ | |
| "${pkgdir}/usr/share/applications/nteract.desktop" | |
| install -Dm644 "${srcdir}/usr/share/icons/hicolor/32x32/apps/notebook.png" \ | |
| "${pkgdir}/usr/share/icons/hicolor/32x32/apps/notebook.png" | |
| install -Dm644 "${srcdir}/usr/share/icons/hicolor/128x128/apps/notebook.png" \ | |
| "${pkgdir}/usr/share/icons/hicolor/128x128/apps/notebook.png" | |
| install -Dm644 "${srcdir}/usr/share/icons/hicolor/256x256@2/apps/notebook.png" \ | |
| "${pkgdir}/usr/share/icons/hicolor/256x256/apps/notebook.png" | |
| # License | |
| install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment