pkgname: mdadm pkgver: '4.6' pkgrel: '1' pkgdesc: The mdadm package contains administration tools for software RAID. url: 'https://git.kernel.org/pub/scm/utils/mdadm' arch: x86_64 depends: [] makedepends: - systemd source: - 'https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/snapshot/mdadm-${pkgver}.tar.gz' sha256sums: - e89f24994f403cea90068d03f3c1ee49957303c7a092cc5b2ed2c603df9649a7 build: | cd ${pkgname}-${pkgver} sed -e "s/__u8 signature\[4\]/& __attribute__ ((nonstring))/" \ -i platform-intel.h make make DESTDIR=${PKGDIR} BINDIR=/usr/bin install make SYSTEMD_DIR=${PKGDIR}/usr/lib/systemd/system install-systemd package: | true