[arch-commits] Commit in nautilus-terminal/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Mon Dec 17 14:17:31 UTC 2018
Date: Monday, December 17, 2018 @ 14:17:30
Author: bgyorgy
Revision: 416523
upgpkg: nautilus-terminal 3.2.3-1
Update to new version
Modified:
nautilus-terminal/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++--------------
1 file changed, 21 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-17 14:14:15 UTC (rev 416522)
+++ PKGBUILD 2018-12-17 14:17:30 UTC (rev 416523)
@@ -1,22 +1,29 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=nautilus-terminal
-pkgver=1.1
-pkgrel=2
-pkgdesc="An integrated terminal for Nautilus"
-arch=('any')
-url="https://projects.flogisoft.com/nautilus-terminal/"
-license=('GPL')
-depends=('python2-nautilus' 'vte3' 'python2-xdg')
-source=(https://launchpad.net/$pkgname/1.x/$pkgver/+download/${pkgname}_$pkgver.tar.gz)
-sha512sums=('af494c651ddfef741df98a8e219b8c619bd97d4257e566622c30ef70209961acc9a2c7b3249dfdcded0cab5e0d0eec435e565397282a8a7b8be2aa60dfab0256')
+pkgver=3.2.3
+pkgrel=1
+pkgdesc="Embedded terminal for Nautilus"
+arch=(any)
+url="https://github.com/flozz/nautilus-terminal"
+license=(GPL3)
+depends=(python-nautilus python-psutil vte3)
+makedepends=(git python-setuptools)
+_commit=fc3ef7c6ca572355dfc1752257834c573dd5f6e0 # tags/v3.2.3
+source=("git+https://github.com/flozz/nautilus-terminal#commit=$_commit")
+sha512sums=('SKIP')
-prepare() {
- cd ${pkgname}_$pkgver
- sed -i 's|^#!/usr/bin/python$|#!/usr/bin/python2|' src/nautilus_terminal.py
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
}
+build() {
+ cd $pkgname
+ python3 setup.py build
+}
+
package() {
- cd ${pkgname}_$pkgver
- ./install.sh --package "$pkgdir"
+ cd $pkgname
+ python3 setup.py install --root="$pkgdir" --optimize=1
}
More information about the arch-commits
mailing list