2023-12-14 16:06:30 +08:00
|
|
|
# Maintainer: BigfootACA <bigfoot@classfun.cn>
|
|
|
|
# Maintainer: Leonidas P. <jpegxguy at outlook dot com>
|
|
|
|
# Contributor: Vincent Bernardoff <vb AT luminar.eu.org>
|
|
|
|
|
|
|
|
pkgname=mmc-utils
|
|
|
|
pkgver=r113.9582278
|
2024-04-30 03:11:16 +08:00
|
|
|
pkgrel=3
|
2023-12-14 16:06:30 +08:00
|
|
|
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}")
|
2024-04-30 03:02:40 +08:00
|
|
|
source=('git+https://gitea.classfun.cn:4443/korg/mmc-utils.git')
|
2023-12-14 16:06:30 +08:00
|
|
|
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}"
|
2024-04-30 03:11:16 +08:00
|
|
|
mkdir -p "${pkgdir}/usr/share/man/man1"
|
|
|
|
mkdir -p "${pkgdir}/usr/bin"
|
2023-12-14 16:06:30 +08:00
|
|
|
make DESTDIR="${pkgdir}" prefix=/usr install
|
|
|
|
}
|