summaryrefslogtreecommitdiff
path: root/repo/util/genfstab.xibuild
blob: 267906cb712ff5e547cc9a6328d40d00ae2f919f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}