From 7a1eeccda8ddeee2a46954527261e80b4d35f20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 5 Oct 2020 07:28:09 +0700 Subject: [PATCH] opentmpfiles: drop noarch --- srcpkgs/opentmpfiles/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/opentmpfiles/template b/srcpkgs/opentmpfiles/template index 66e3bd34f2..94c8731fa5 100644 --- a/srcpkgs/opentmpfiles/template +++ b/srcpkgs/opentmpfiles/template @@ -1,19 +1,18 @@ # Template file for 'opentmpfiles' pkgname=opentmpfiles version=0.2 -revision=1 -archs=noarch +revision=2 build_style=gnu-makefile -short_desc="A standalone utility for handling systemd-style tmpfiles.d settings" +make_install_args="bindir=/usr/bin" +short_desc="Standalone utility for handling systemd-style tmpfiles.d settings" maintainer="Orphaned " license="BSD-2-Clause" homepage="https://github.com/OpenRC/opentmpfiles" distfiles="https://github.com/OpenRC/opentmpfiles/archive/${version}.tar.gz" checksum=4fa6a78600b1d67d34c441919e5e62ad181af358d9353ce380f515d623177ecb -make_install_args="bindir=/usr/bin" pre_install() { - sed -i 's|^bindir.*||g' Makefile + vsed -i 's|^bindir.*||g' Makefile } post_install() {