makedeb
Context-menu entry for opening a terminal in nautilus
Click here to go back to the commit logs for nautilus-extension-any-terminal.
Hash: 048115a767b5b6ce3f9c2d032bd285638c2ac78b
Message: Update to 0.5.1
diff --git a/.SRCINFO b/.SRCINFO
index ccfa3e2..89e1c77 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb
pkgname = nautilus-extension-any-terminal
pkgbase = nautilus-extension-any-terminal
pkgdesc = Context-menu entry for opening a terminal in nautilus
-pkgrel = 4
-pkgver = 0.5.0
+pkgrel = 1
+pkgver = 0.5.1
url = https://github.com/Stunkymonkey/nautilus-open-any-terminal
arch = all
conflicts = nautilus-extension-gnome-terminal
@@ -11,11 +11,9 @@ depends = python3-nautilus
depends = nautilus
depends = gir1.2-gtk-4.0
license = GPL3
-makedepends = python3-setuptools
-makedepends = python3-pip
+makedepends = make
makedepends = gettext
-source = nautilus-open-any-terminal-0.5.0.tar.gz::https://github.com/Stunkymonkey/nautilus-open-any-terminal/archive/refs/tags/0.5.0.tar.gz
-sha256sums = b0812dbc387c1bd4916680795fe43c29c3a869848a7fd98c00ee46e635ab56b4
-makedepends = python3-setuptools
-makedepends = python3-pip
+source = nautilus-open-any-terminal-0.5.1.tar.gz::https://github.com/Stunkymonkey/nautilus-open-any-terminal/archive/refs/tags/0.5.1.tar.gz
+sha256sums = 8c942924de769cae9b3034ddef16d2462b8ebb50ee1f123613ac4d38e088220d
+makedepends = make
makedepends = gettext
diff --git a/PKGBUILD b/PKGBUILD
index 11c47af..cc19138 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,25 @@
pkgname=nautilus-extension-any-terminal
_pkgname=nautilus-open-any-terminal
-pkgver=0.5.0
-pkgrel=4
+pkgver=0.5.1
+pkgrel=1
pkgdesc='Context-menu entry for opening a terminal in nautilus'
arch=(all)
depends=(python3-nautilus nautilus gir1.2-gtk-4.0)
-makedepends=(python3-setuptools python3-pip gettext)
+makedepends=(make gettext)
conflicts=(nautilus-extension-gnome-terminal)
license=(GPL3)
url="https://github.com/Stunkymonkey/${_pkgname}"
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
-sha256sums=('b0812dbc387c1bd4916680795fe43c29c3a869848a7fd98c00ee46e635ab56b4')
+sha256sums=('8c942924de769cae9b3034ddef16d2462b8ebb50ee1f123613ac4d38e088220d')
build() {
cd "${_pkgname}-${pkgver}"
- python3 setup.py build
+ make build
}
package() {
cd "${_pkgname}-${pkgver}"
- python3 setup.py install --root "${pkgdir}" --home /usr
-
- # Don't install the module
- rm -rf "${pkgdir}/usr/lib"
- find "${pkgdir}" -name "__pycache__" -type d -exec rm -rf {} +
+ make PREFIX="${pkgdir}/usr" install
}