From e53ea65eb80eea1597669e4ccf40639b7c1a9d2d Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 7 Apr 2022 14:21:11 +0200 Subject: [PATCH] tgt: update to 1.0.82. --- srcpkgs/tgt/template | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/srcpkgs/tgt/template b/srcpkgs/tgt/template index 5bf3d09a707..653ebf2dc35 100644 --- a/srcpkgs/tgt/template +++ b/srcpkgs/tgt/template @@ -1,6 +1,6 @@ # Template file for 'tgt' pkgname=tgt -version=1.0.81 +version=1.0.82 revision=1 build_style=gnu-makefile make_install_args="sbindir=/usr/bin" @@ -13,17 +13,12 @@ maintainer="Leah Neukirchen " license="GPL-2.0-only" homepage="https://github.com/fujita/tgt" distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz" -checksum=f8a285549456f13fecf628131a73934ffcbb701bacb7d5802acee7b515ab5452 +checksum=35156277465e0ced5f3ca7e301110a937a7a2b90bbb5aecbca1349b91ada1c2c post_extract() { sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile - sed -i '/^LDFLAGS/d; /CC.*-o/s/$/ $(LDFLAGS)/' usr/Makefile - sed -i '1i#include ' usr/tgtd.h usr/util.h - sed -i '1i#include ' usr/libssc.c - sed -i '1i#include ' usr/bs_sg.c - sed -i 's/__always_inline/inline/g' usr/util.h - } + post_install() { for f in ${DESTDIR}/etc/tgt/examples/*; do vsconf $f