From 0fae977f9127f27b53c094faefd6b9b154d2d429 Mon Sep 17 00:00:00 2001 From: Lugubris Date: Sun, 25 Aug 2019 08:53:05 +0000 Subject: [PATCH] tty-clock: fix license change from GPL-3 to BSD-3-Clause -> https://github.com/xorg62/tty-clock/blob/master/LICENSE --- srcpkgs/tty-clock/template | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/srcpkgs/tty-clock/template b/srcpkgs/tty-clock/template index f50c5714516..8d2b8e1282b 100644 --- a/srcpkgs/tty-clock/template +++ b/srcpkgs/tty-clock/template @@ -1,15 +1,18 @@ # Template file for 'tty-clock' pkgname=tty-clock version=2.3 -revision=1 +revision=2 makedepends="ncurses-devel" short_desc="Digital clock in ncurses" maintainer="Lugubris " -license="GPL-3" +license="BSD-3-Clause" homepage="https://github.com/xorg62/tty-clock" -distfiles="https://github.com/xorg62/tty-clock/archive/v${version}.tar.gz" -checksum=343e119858db7d5622a545e15a3bbfde65c107440700b62f9df0926db8f57984 +distfiles="https://github.com/xorg62/tty-clock/archive/v${version}.tar.gz + https://raw.githubusercontent.com/xorg62/tty-clock/master/LICENSE" +checksum="343e119858db7d5622a545e15a3bbfde65c107440700b62f9df0926db8f57984 + 19b60b629c724d426ce56bfd8effefa03555c4bafd757e66063722c9178cc971" replaces="tty-clock-git>=0" +skip_extraction="LICENSE" do_build() { make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lncursesw" @@ -19,3 +22,7 @@ do_install() { vbin tty-clock vman tty-clock.1 } + +post_install() { + vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE +}