opentmpfiles: drop noarch

This commit is contained in:
Đoàn Trần Công Danh 2020-10-05 07:28:09 +07:00
parent 0754c9a23e
commit 7a1eeccda8

View file

@ -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 <orphan@voidlinux.org>"
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() {