fix build

This commit is contained in:
BigfootACA 2024-04-30 03:11:16 +08:00
parent 9f7a21e686
commit 4846ed4840
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
pkgbase = mmc-utils
pkgdesc = Userspace tools for MMC/SD devices
pkgver = r113.9582278
pkgrel = 2
pkgrel = 3
epoch = 1
url = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
arch = x86_64

View File

@ -4,7 +4,7 @@
pkgname=mmc-utils
pkgver=r113.9582278
pkgrel=2
pkgrel=3
epoch=1
pkgdesc="Userspace tools for MMC/SD devices"
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
@ -28,6 +28,7 @@ build() {
package() {
cd "${pkgname}"
mkdir -p "${pkgdir}/usr/share/man/man1"
mkdir -p "${pkgdir}/usr/bin"
make DESTDIR="${pkgdir}" prefix=/usr install
install -Dm644 man/mmc.1 "${pkgdir}/usr/share/man/man1/mmc.1"
}