diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2010-08-14 14:23:26 -0500 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-08-23 11:51:35 +0200 |
commit | 5fce1ef0c923bc77a346c5232b90b855ee403cf1 (patch) | |
tree | 2654c3c88fcf0cf4d391d094dc9230a5954ba16f /PKGBUILD | |
parent | 85ab21a6e05de372f7c59ece179789f24023d9f8 (diff) | |
download | dracut-5fce1ef0c923bc77a346c5232b90b855ee403cf1.tar.gz dracut-5fce1ef0c923bc77a346c5232b90b855ee403cf1.tar.bz2 dracut-5fce1ef0c923bc77a346c5232b90b855ee403cf1.zip |
Add a PKGBUILD file to make building on Arch Linux from a git checkout easy.
This might come in handy for anyone else trying out dracut on Arch.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..5776c099 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +pkgname=dracut-git +pkgver=$(date +%s) +pkgrel=$(git log --pretty=format:%h |head -n 1) +pkgdesc="Initramfs generation utility" +arch=('i686' 'x86_64') +url="http://sourceforge.net/apps/trac/dracut/" +license=('GPL') +conflicts=('dracut' 'mkinitcpio') +provides=('dracut=9999' 'mkinitcpio=9999') +depends=('bash') +optdepends=('cryptsetup' 'lvm2') +makedepends=('libxslt') +source=() +md5sums=() + +build() { + cd .. + make sysconfdir=/etc || return 1 + make DESTDIR="${pkgdir}" sysconfdir=/etc install || return 1 +}
\ No newline at end of file |