Subject: [alpine-aports] [PATCH] testing/asciinema: add curl to depends

From: Stuart Cardall <[email-masked]>
Date: Tue, 23 Jun 2015 19:44:44 +0000

adds curl as a depends.

removed post-install message as a UTF environment is set now by
default in /etc/profile.
---
 testing/asciinema/APKBUILD               |  5 ++---
 testing/asciinema/asciinema.post-install | 15 ---------------
 2 files changed, 2 insertions(+), 18 deletions(-)
 delete mode 100644 testing/asciinema/asciinema.post-install

diff --git a/testing/asciinema/APKBUILD b/testing/asciinema/APKBUILD
index 25fcc91..25f9eb5 100644
--- a/testing/asciinema/APKBUILD
+++ b/testing/asciinema/APKBUILD
@@ -2,15 +2,14 @@
 # Maintainer: Fabian Affolter <[email-masked]>
 pkgname=asciinema
 pkgver=1.1.1
-pkgrel=0
+pkgrel=1
 pkgdesc="A Command line recorder for asciinema.org service"
 url="https://github.com/asciinema/asciinema/"
 arch="all"
 license="GPLv3"
-depends=""
+depends="curl"
 depends_dev=""
 makedepends="go python"
-install="$pkgname.post-install"
 subpackages="$pkgname-doc"
 source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
 
diff --git a/testing/asciinema/asciinema.post-install b/testing/asciinema/asciinema.post-install
deleted file mode 100644
index f933ba9..0000000
--- a/testing/asciinema/asciinema.post-install
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-NORMAL="\033[1;0m"
-STRONG="\033[1;1m"
-GREEN="\033[1;32m"
-
-print_start() {
-	local prompt="${STRONG}${GREEN}$1 ${NORMAL}${STRONG}$2 ${STRONG}${GREEN}$3 ${NORMAL}"
-        printf "${prompt} %s"
-}
-
-print_start "\nAdd" "'export LANG="en_US.UTF-8"'" "to /etc/profile or ~/.profile for asciinema to work.\n\n"
-
-exit 0
-
-- 
2.4.4

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---