]> git.ipfire.org Git - thirdparty/dracut.git/blame - PKGBUILD
Fix a missing space in example configs
[thirdparty/dracut.git] / PKGBUILD
CommitLineData
5fce1ef0 1pkgname=dracut-git
4cca17ee
SF
2pkgver=1
3pkgrel=1
5fce1ef0
VL
4pkgdesc="Initramfs generation utility"
5arch=('i686' 'x86_64')
db59288d 6url="https://dracut.wiki.kernel.org/"
5fce1ef0
VL
7license=('GPL')
8conflicts=('dracut' 'mkinitcpio')
9provides=('dracut=9999' 'mkinitcpio=9999')
10depends=('bash')
11optdepends=('cryptsetup' 'lvm2')
12makedepends=('libxslt')
4b3124ae 13backup=(etc/dracut.conf)
5fce1ef0
VL
14source=()
15md5sums=()
16
0d5c02d3
SF
17# out of tree builds disallowed for this PKGFILE
18BUILDDIR="${PWD}"
19PKGDEST="${PWD}"
20SRCDEST=""
21SRCPKGDEST=""
22LOGDEST=""
23
4cca17ee
SF
24pkgver() {
25 cd ..
26 desc="$(git describe)"
27 printf "%s.%s.%s" ${desc//-/ }
28}
29
5fce1ef0
VL
30build() {
31 cd ..
32 make sysconfdir=/etc || return 1
eb150a4f
SF
33}
34
35package() {
36 cd ..
5fce1ef0 37 make DESTDIR="${pkgdir}" sysconfdir=/etc install || return 1
db59288d 38}