From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/genfstab/genfstab.xibuild | 24 ++++++++++++++++++++++++ repo/genfstab/remove-extra-flags.patch | 13 +++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 repo/genfstab/genfstab.xibuild create mode 100644 repo/genfstab/remove-extra-flags.patch (limited to 'repo/genfstab') diff --git a/repo/genfstab/genfstab.xibuild b/repo/genfstab/genfstab.xibuild new file mode 100644 index 0000000..267906c --- /dev/null +++ b/repo/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/genfstab/remove-extra-flags.patch b/repo/genfstab/remove-extra-flags.patch new file mode 100644 index 0000000..7adfc49 --- /dev/null +++ b/repo/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