From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- repo/util/genfstab/genfstab.xibuild | 24 ++++++++++++++++++++++++ repo/util/genfstab/remove-extra-flags.patch | 13 +++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 repo/util/genfstab/genfstab.xibuild create mode 100644 repo/util/genfstab/remove-extra-flags.patch (limited to 'repo/util/genfstab') diff --git a/repo/util/genfstab/genfstab.xibuild b/repo/util/genfstab/genfstab.xibuild new file mode 100644 index 0000000..267906c --- /dev/null +++ b/repo/util/genfstab/genfstab.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +MAKEDEPS="make asciidoc" +DEPS="bash sbase gawk" + +PKG_VER=24 +SOURCE=https://github.com/archlinux/arch-install-scripts.git +BRANCH=v$PKG_VER + +ADDITIONAL=" + remove-extra-flags.patch +" + +DESC="A tool for generating /etc/fstab files from archlinux" + + +prepare () { + apply_patches + sed -i "s/realpath -mL/realpath/g" genfstab.in +} + +package () { + make PREFIX=/usr BINPROGS=genfstab MANS=doc/genfstab.8 DESTDIR=$PKG_DEST install +} diff --git a/repo/util/genfstab/remove-extra-flags.patch b/repo/util/genfstab/remove-extra-flags.patch new file mode 100644 index 0000000..7adfc49 --- /dev/null +++ b/repo/util/genfstab/remove-extra-flags.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 50f319a..018fa8b 100644 +--- a/Makefile ++++ b/Makefile +@@ -44,7 +44,7 @@ install: all + install -Dm644 $$comp $(DESTDIR)$(PREFIX)/share/bash-completion/completions/$${comp%%.*}; \ + done; + for manfile in $(MANS); do \ +- install -Dm644 $$manfile -t $(DESTDIR)$(PREFIX)/share/man/man$${manfile##*.}; \ ++ install -Dm644 $$manfile $(DESTDIR)$(PREFIX)/share/man/man$${manfile##*.}; \ + done; + + .PHONY: all clean install uninstall -- cgit v1.2.1