fix build
This commit is contained in:
parent
4846ed4840
commit
32fa5b48bc
4
.SRCINFO
4
.SRCINFO
@ -1,7 +1,7 @@
|
||||
pkgbase = mmc-utils
|
||||
pkgdesc = Userspace tools for MMC/SD devices
|
||||
pkgver = r113.9582278
|
||||
pkgrel = 3
|
||||
pkgver = r128.f757f41
|
||||
pkgrel = 2
|
||||
epoch = 1
|
||||
url = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
|
||||
arch = x86_64
|
||||
|
9
PKGBUILD
9
PKGBUILD
@ -3,8 +3,8 @@
|
||||
# Contributor: Vincent Bernardoff <vb AT luminar.eu.org>
|
||||
|
||||
pkgname=mmc-utils
|
||||
pkgver=r113.9582278
|
||||
pkgrel=3
|
||||
pkgver=r128.f757f41
|
||||
pkgrel=2
|
||||
epoch=1
|
||||
pkgdesc="Userspace tools for MMC/SD devices"
|
||||
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
|
||||
@ -21,6 +21,11 @@ pkgver() {
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}"
|
||||
sed -i 's,-Werror,,g' Makefile
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}"
|
||||
make
|
||||
|
Loading…
Reference in New Issue
Block a user