makedeb


nautilus-extension-any-terminal 0.6.0-1


Context-menu entry for opening a terminal in nautilus

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for nautilus-extension-any-terminal.

# Maintainer: lvxnull <lvxnull at proton dot me>

pkgname=(nautilus-extension-any-terminal caja-extension-any-terminal)
_pkgname=nautilus-open-any-terminal
pkgver=0.6.0
pkgrel=1
pkgdesc='Context-menu entry for opening a terminal in nautilus'
arch=(all)
makedepends=(make gettext)
license=(GPL3)
url="https://github.com/Stunkymonkey/${_pkgname}"
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('96a1cf9ebd24b3a0b33c70c37f6ab39b11e6d11dc374c9199e54a0b1f19e163a')

build() {
    cd "${_pkgname}-${pkgver}"
    make build
}

package_nautilus-extension-any-terminal() {
    depends=(python3-nautilus nautilus gir1.2-gtk-4.0)
    conflicts=(nautilus-extension-gnome-terminal)
    cd "${_pkgname}-${pkgver}"

    make DESTDIR="${pkgdir}" PREFIX="/usr" install-nautilus
}

package_caja-extension-any-terminal() {
    depends=(python3-caja caja gir1.2-gtk-3.0)
    cd "${_pkgname}-${pkgver}"

    make DESTDIR="${pkgdir}" PREFIX="/usr" install-caja
}