summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-04 16:53:29 +0200
committerDave Reisner <dreisner@archlinux.org>2011-07-05 05:00:25 +0200
commit6c3207d3dffac6c45d7b208938646c0088e7a85d (patch)
treeba684350024cdb2bd9b34387ea3702f6a9b91595
parent64785d2c7aecbf23cb840b8abc1c76b3a39d573e (diff)
downloadmkinitcpio-6c3207d3dffac6c45d7b208938646c0088e7a85d.tar.gz
mkinitcpio-6c3207d3dffac6c45d7b208938646c0088e7a85d.tar.xz
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
-rw-r--r--PKGBUILD11
1 files 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'