2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
|
|
# Website : https://pozol.eu
|
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=mdadm
|
2024-03-05 16:01:09 +01:00
|
|
|
pkgver=4.3
|
|
|
|
pkgrel=02
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc='A tool for managing/monitoring Linux md device arrays, also known as Software RAID w/o systemd'
|
|
|
|
url='https://git.kernel.org/pub/scm/utils/mdadm'
|
|
|
|
makedepends=('git')
|
|
|
|
depends=('glibc')
|
2024-03-05 16:01:09 +01:00
|
|
|
conflicts=('mkinitcpio<38')
|
2022-03-20 13:19:37 +01:00
|
|
|
replaces=('raidtools')
|
|
|
|
backup=('etc/mdadm.conf')
|
2022-03-31 03:00:18 +02:00
|
|
|
optdepends=('bash: mdcheck')
|
2022-03-20 13:19:37 +01:00
|
|
|
source=("git+https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git#tag=${pkgname}-${pkgver}?signed"
|
2024-03-05 16:01:09 +01:00
|
|
|
'mdadm.conf')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
2024-03-05 16:01:09 +01:00
|
|
|
#prepare() {
|
|
|
|
# cd mdadm
|
|
|
|
# patch -Np0 -i ${srcdir}/disable-werror.patch
|
|
|
|
#}
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd mdadm
|
|
|
|
|
|
|
|
make CXFLAGS="$CFLAGS" BINDIR=/usr/bin UDEVDIR=/usr/lib/udev
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd mdadm
|
|
|
|
|
|
|
|
make INSTALL=/usr/bin/install BINDIR=/usr/bin DESTDIR="$pkgdir" UDEVDIR=/usr/lib/udev install
|
|
|
|
install -D -m644 ../mdadm.conf "$pkgdir"/etc/mdadm.conf
|
2022-03-31 03:00:18 +02:00
|
|
|
install -D -m755 misc/mdcheck "$pkgdir"/usr/share/mdadm/mdcheck
|
2022-03-20 13:19:37 +01:00
|
|
|
}
|
|
|
|
|
2024-01-28 17:21:43 +01:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
2024-03-05 16:01:09 +01:00
|
|
|
license=('GPL-2.0-or-later')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
2024-03-05 16:01:09 +01:00
|
|
|
validpgpkeys=(6A86B80E1D22F21D0B26BA75397D82E0531A9C91 # Jes Sorensen
|
|
|
|
EED84966493AEEAF4B466F696F9E3E9D4EDEBB11) # Mariusz Tkaczyk
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
sha256sums=(SKIP
|
2024-03-05 16:01:09 +01:00
|
|
|
d2d64fc4ab823b347f7fea7fa0326aa7edb6dcdf6e987a53856b07178ad0886e) # mdadm.conf
|
2024-01-28 17:21:43 +01:00
|
|
|
|
2024-03-05 16:01:09 +01:00
|
|
|
## a72b6f42dd245fb619a86456ba0cada3602be8d611300e439983268d25fe909f mdadm-4.3-02-x86_64.pkg.tar.lz
|
2024-01-28 17:21:43 +01:00
|
|
|
|