diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
commit | 48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch) | |
tree | 00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/genfstab | |
parent | 871b2b573f01c1b3176a0f65458b3d281b41c437 (diff) |
removed idea of repos
Diffstat (limited to 'repo/genfstab')
-rw-r--r-- | repo/genfstab/genfstab.xibuild | 24 | ||||
-rw-r--r-- | repo/genfstab/remove-extra-flags.patch | 13 |
2 files changed, 37 insertions, 0 deletions
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 |