# Maintainer: BigfootACA # Maintainer: Leonidas P. # Contributor: Vincent Bernardoff pkgname=mmc-utils pkgver=r113.9582278 pkgrel=3 epoch=1 pkgdesc="Userspace tools for MMC/SD devices" arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h') url="https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git" license=('GPL') makedepends=('git') provides=("${pkgname}") conflicts=("${pkgname}") source=('git+https://gitea.classfun.cn:4443/korg/mmc-utils.git') sha256sums=('SKIP') pkgver() { cd "${pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "${pkgname}" make } package() { cd "${pkgname}" mkdir -p "${pkgdir}/usr/share/man/man1" mkdir -p "${pkgdir}/usr/bin" make DESTDIR="${pkgdir}" prefix=/usr install }