diff options
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 |