[arch-commits] Commit in asciinema/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Wed Jan 13 12:58:28 UTC 2021


    Date: Wednesday, January 13, 2021 @ 12:58:26
  Author: arodseth
Revision: 820444

for the python-setuptools cleanup todo

Modified:
  asciinema/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-13 12:54:00 UTC (rev 820443)
+++ PKGBUILD	2021-01-13 12:58:26 UTC (rev 820444)
@@ -3,24 +3,22 @@
 
 pkgname=asciinema
 pkgver=2.0.2
-pkgrel=4
+pkgrel=5
 pkgdesc='Record and share terminal sessions'
 arch=(any)
 url='https://asciinema.org/'
 license=(GPL3)
-depends=(python python-setuptools) # FS#62700
-makedepends=(git)
-source=("git+https://github.com/asciinema/asciinema.git#tag=v$pkgver"
+makedepends=(git python-setuptools)
+depends=(python)
+source=('git+https://github.com/asciinema/asciinema#commit=ab1be29888e3aca947343773148641fcc396f311' # tag: v2.0.2
         asciinema.sh)
 sha256sums=('SKIP'
             '14a2dd176aa95010e1e4876265f12288499008c1cf530da5b1d9aff9d74917cd')
 
 package() {
-  cd "$pkgname"
-
+  install -Dm755 -t "$pkgdir/usr/bin" asciinema.sh
+  cd $pkgname
   python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm755 -t "$pkgdir/usr/bin" "$srcdir/asciinema.sh"
 }
 
 # getver: raw.githubusercontent.com/asciinema/asciinema/master/asciinema/__init__.py
-# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list