diff options
author | Chris Severance | 2017-01-12 11:58:33 -0500 |
---|---|---|
committer | Chris Severance | 2017-01-12 11:58:33 -0500 |
commit | 71960854dc9e46bf42a810ec5112f868e8f783f3 (patch) | |
tree | da75fb65b3c8493e50fdce047f48d311c8e1fd8c | |
parent | e3fe35f07616554852824fe83c68ce16f87aa508 (diff) | |
download | aur-71960854dc9e46bf42a810ec5112f868e8f783f3.tar.gz |
Update to 4.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 16 insertions, 12 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Thu Jan 12 16:54:28 UTC 2017 pkgbase = mdadm-git pkgdesc = create, manage, and monitor Linux mdraid block device RAID arrays - pkgver = 3.3.4.r22.gccc93b3 + pkgver = 4.0.r0.g25cfca3 pkgrel = 1 url = http://neil.brown.name/blog/mdadm install = mdadm.install @@ -9,12 +11,12 @@ pkgbase = mdadm-git license = GPL makedepends = git depends = glibc - provides = mdadm=3.3.4 + provides = mdadm=4.0 conflicts = mkinitcpio<0.7 conflicts = mdadm replaces = raidtools backup = etc/mdadm.conf - source = mdadm_github::git+https://github.com/neilbrown/mdadm.git + source = mdadm_gitnb::git://neil.brown.name/mdadm source = mdadm.conf::https://projects.archlinux.org/svntogit/packages.git/plain/trunk/mdadm.conf?h=packages/mdadm source = mdadm_hook::https://projects.archlinux.org/svntogit/packages.git/plain/trunk/mdadm_hook?h=packages/mdadm source = mdadm_install::https://projects.archlinux.org/svntogit/packages.git/plain/trunk/mdadm_install?h=packages/mdadm @@ -7,31 +7,31 @@ set -u _pkgname='mdadm' pkgname="${_pkgname}-git" -pkgver=3.3.4.r22.gccc93b3 +pkgver=4.0.r0.g25cfca3 pkgrel=1 pkgdesc='create, manage, and monitor Linux mdraid block device RAID arrays' arch=('i686' 'x86_64') -license=('GPL') #url='https://github.com/neilbrown/mdadm' url='http://neil.brown.name/blog/mdadm' -conflicts=('mkinitcpio<0.7' "${_pkgname}") -provides=("${_pkgname}=${pkgver%.r*}") -makedepends=('git') +license=('GPL') depends=('glibc') +makedepends=('git') #optdepends=('lvm2' 'dm-crypt' 'bcache') +provides=("${_pkgname}=${pkgver%.r*}") +conflicts=('mkinitcpio<0.7' "${_pkgname}") +replaces=('raidtools') backup=("etc/${_pkgname}.conf") +install="${_pkgname}.install" _verwatch=('ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/' 'mdadm-\(.*\)\.tar\.xz' 'f') _archlink="@@@::https://projects.archlinux.org/svntogit/packages.git/plain/trunk/@@@?h=packages/${_pkgname}" source=(# use either one, but not both. Reset with makepkg -sCf. My comparison shows these are identical, including the tags. Github is faster. - #"mdadm_gitnb::git://neil.brown.name/${_pkgname}" - "mdadm_github::git+https://github.com/neilbrown/${_pkgname}.git" + "mdadm_gitnb::git://neil.brown.name/${_pkgname}" + #"mdadm_github::git+https://github.com/neilbrown/${_pkgname}.git" "${_archlink//@@@/${_pkgname}.conf}" "${_archlink//@@@/${_pkgname}_hook}" "${_archlink//@@@/${_pkgname}_install}" "${_archlink//@@@/${_pkgname}_udev_install}" "mdadm_udev_hook") -install="${_pkgname}.install" -replaces=('raidtools') sha256sums=('SKIP' '4ce1e90690282f98e4828e11576fbd61be65e97a2cdae6c7eac7035ea5ee53e5' 'd297b4fa6213016ec08e4f66d07cf7eb03426e4e17ab31eddfa5c5c1d82ea294' @@ -40,8 +40,10 @@ sha256sums=('SKIP' 'd395184617f45849cbbaf5b4ee3665ca6895a1d642e0470e9de703ce944279ca') pkgver() { + set -u cd mdadm_git*/ git describe --long | sed -e 's/^mdadm-//g' -e 's/\([^-]*-g\)/r\1/' -e 's/-/./g' + set +u } prepare() { |