2 # JOBoRun : Jwm OpenBox Obarun RUNit
3 # Maintainer : Joe Bo Run <joborun@disroot.org>
4 # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
5 # Website : https://pozol.eu
6 #-----------------------------------------| DESCRIPTION |---------------------------------------
11 pkgdesc='A tool for managing/monitoring Linux md device arrays, also known as Software RAID w/o systemd'
13 url='https://git.kernel.org/pub/scm/utils/mdadm'
16 replaces=('raidtools')
17 backup=('etc/mdadm.conf')
18 source=("git+https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git#tag=${pkgname}-${pkgver}?signed"
19 'disable-werror.patch'
25 patch -Np0 -i ${srcdir}/disable-werror.patch
31 make CXFLAGS="$CFLAGS" BINDIR=/usr/bin UDEVDIR=/usr/lib/udev
37 make INSTALL=/usr/bin/install BINDIR=/usr/bin DESTDIR="$pkgdir" UDEVDIR=/usr/lib/udev install
38 install -D -m644 ../mdadm.conf "$pkgdir"/etc/mdadm.conf
39 install -D -m644 ../mdadm_udev_install "$pkgdir"/usr/lib/initcpio/install/mdadm_udev
40 ln -s mdadm_udev "$pkgdir"/usr/lib/initcpio/install/mdadm
43 #---- license gpg-key sha256sums ----
47 validpgpkeys=('6A86B80E1D22F21D0B26BA75397D82E0531A9C91') # Jes Sorensen
50 85c98b8fe880bdd365fc0e400af10c2e5d0c439d338e055f66c16162f9282846 # disable-werror.patch
51 4ce1e90690282f98e4828e11576fbd61be65e97a2cdae6c7eac7035ea5ee53e5 # mdadm.conf
52 b6782029bdae2d7f87ea0e332bb90f72a7792e933580e37602e81e2f1bb82a9c) # mdadm_udev_install