From 6c3207d3dffac6c45d7b208938646c0088e7a85d Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 4 Jul 2011 10:53:29 -0400 Subject: cleanup devel PKGBUILD * Assign a better $pkgver that will be more in line with released versions. This means we can just provide this version and let pacman upgrade. * raise udev dependency to 171 --- PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 13c6353..2cb6a6d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,17 @@ +IFS='-' read -r major minor _ < <(git describe) + pkgname=mkinitcpio-git -IFS='-' read pkgver pkgrel _ < <(git describe) +pkgver=$major.$minor +pkgrel=1 pkgdesc="Modular initramfs image creation utility" arch=(any) url="http://www.archlinux.org/" license=('GPL') conflicts=('mkinitcpio') -provides=('mkinitcpio=9999') +provides=("mkinitcpio=$pkgver") depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux>=2.19' 'libarchive' 'coreutils' - 'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=168' 'file' 'gzip') -makedepends=('asciidoc') + 'bash' 'findutils' 'sed' 'grep' 'filesystem>=2009.01-2' 'udev>=171-2' 'file' 'gzip') +makedepends=('asciidoc' 'git') optdepends=('xz: Use lzma or xz compression for the initramfs image' 'bzip2: Use bzip2 compression for the initramfs image' 'lzop: Use lzo compression for the initramfs image' -- cgit v1.2.3-24-g4f1b