From c52d3653c8a1b89d448226a34ff211d18d574975 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 7 Mar 2016 18:43:30 -0500 Subject: [PATCH] asciinema: Update from 1.1.1 to 1.2.0 --- packages/asciinema/Makefile.patch | 20 ++++++-------------- packages/asciinema/build.sh | 3 +-- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/packages/asciinema/Makefile.patch b/packages/asciinema/Makefile.patch index 0b1bd3b72..9c509540b 100644 --- a/packages/asciinema/Makefile.patch +++ b/packages/asciinema/Makefile.patch @@ -1,22 +1,14 @@ -diff -u -r ../asciinema-1.1.1/Makefile ./Makefile ---- ../asciinema-1.1.1/Makefile 2015-06-21 17:58:14.000000000 +0200 -+++ ./Makefile 2015-08-20 01:39:05.000000000 +0200 -@@ -1,6 +1,6 @@ - NAME=asciinema - VERSION=$(shell grep 'const Version' main.go | awk -F '"' '{print $$2}') --COMMIT=$(shell git rev-parse --short HEAD) -+COMMIT=1.1.1 - - DIRS=bin - INSTALL_DIRS=`find $(DIRS) -type d 2>/dev/null` -@@ -14,8 +14,8 @@ +diff -u -r ../asciinema-1.2.0/Makefile ./Makefile +--- ../asciinema-1.2.0/Makefile 2016-02-22 06:00:31.000000000 -0500 ++++ ./Makefile 2016-03-07 18:42:26.516807994 -0500 +@@ -13,8 +13,8 @@ all: build -build: test -- go build -o bin/asciinema -ldflags "-X main.GitCommit $(COMMIT)" +- go build -o bin/asciinema +build: -+ go build -o bin/asciinema -ldflags "-extldflags=-pie -X main.GitCommit $(COMMIT)" ++ go build -o bin/asciinema -ldflags "-extldflags=-pie" test: go test ./... diff --git a/packages/asciinema/build.sh b/packages/asciinema/build.sh index 670624082..08a1ae43f 100644 --- a/packages/asciinema/build.sh +++ b/packages/asciinema/build.sh @@ -1,7 +1,6 @@ TERMUX_PKG_HOMEPAGE=https://asciinema.org/ TERMUX_PKG_DESCRIPTION="Record and share your terminal sessions, the right way" -TERMUX_PKG_VERSION=1.1.1 -TERMUX_PKG_BUILD_REVISION=2 +TERMUX_PKG_VERSION=1.2.0 TERMUX_PKG_SRCURL=https://github.com/asciinema/asciinema/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_FOLDERNAME=asciinema-${TERMUX_PKG_VERSION} TERMUX_PKG_BUILD_IN_SRC=yes