Date: Monday, October 4, 2021 @ 09:48:21
  Author: arodseth
Revision: 1027271

upgpkg: asciinema 2.1.0-1

Modified:
  asciinema/trunk/PKGBUILD
Deleted:
  asciinema/trunk/asciinema.sh

--------------+
 PKGBUILD     |   18 ++++++++++--------
 asciinema.sh |    2 --
 2 files changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-10-04 09:42:39 UTC (rev 1027270)
+++ PKGBUILD    2021-10-04 09:48:21 UTC (rev 1027271)
@@ -2,22 +2,24 @@
 # Contributor: Marcin Kulik <[email protected]>
 
 pkgname=asciinema
-pkgver=2.0.2
-pkgrel=5
+pkgver=2.1.0
+pkgrel=1
 pkgdesc='Record and share terminal sessions'
 arch=(any)
 url='https://asciinema.org/'
 license=(GPL3)
+depends=(python)
 makedepends=(git python-setuptools)
-depends=(python)
-source=('git+https://github.com/asciinema/asciinema#commit=ab1be29888e3aca947343773148641fcc396f311'
 # tag: v2.0.2
-        asciinema.sh)
-sha256sums=('SKIP'
-            '14a2dd176aa95010e1e4876265f12288499008c1cf530da5b1d9aff9d74917cd')
+source=('git+https://github.com/asciinema/asciinema#commit=5f958ccc40b04f84341cc0bfafee6d679a8f7c1c')
 # tag: v2.1.0
+b2sums=(SKIP)
 
+prepare() {
+  echo -e '#!/bin/sh\n/usr/bin/python -m asciinema "$@"' > 
"$pkgname/asciinema.sh"
+}
+
 package() {
+  cd $pkgname
   install -Dm755 -t "$pkgdir/usr/bin" asciinema.sh
-  cd $pkgname
   python setup.py install --root="$pkgdir" --optimize=1
 }
 

Deleted: asciinema.sh
===================================================================
--- asciinema.sh        2021-10-04 09:42:39 UTC (rev 1027270)
+++ asciinema.sh        2021-10-04 09:48:21 UTC (rev 1027271)
@@ -1,2 +0,0 @@
-#!/bin/sh
-/usr/bin/python -m asciinema "$@"

Reply via email to