aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mmc-utils/APKBUILD
blob: d5a35886c8409919a5287e7f582a069ca93e65ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Olliver Schinagl <oliver@schinagl.nl>
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
pkgname=mmc-utils
pkgver="4.3.0_git20181024"
pkgrel=1
pkgdesc="Configure MMC storage devices from userspace."
url="https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git"
arch="all"
license="GPL-2.0"
depends=""
makedepends="linux-headers"
options="!check" # No checks available
subpackages="${pkgname}-doc"
_githash="aef913e31b659462fe6b9320d241676cba97f67b"
source="https://git.kernel.org/pub/scm/linux/kernel/git/cjb/${pkgname}.git/snapshot/${pkgname}-${_githash}.tar.gz"
builddir="${srcdir}/${pkgname}-${_githash}"

build()
{
	make
}

package()
{
	make DESTDIR="${pkgdir}" prefix="/usr" install install-man
	gzip -c "man/mmc.1" > "mmc.1.gz" && \
		install -D -m 644 "mmc.1.gz" "${pkgdir}/usr/share/man/man1/mmc.1.gz"
}

sha512sums="afadc665f1c181d4ae2fd5e1e1fc0b05f79a0de039d04ee8db333254aafd7b90edc49accb54d8d7e29a2e541fce34037f83449f91a7b2ebbd2f28e415d9904fd  mmc-utils-aef913e31b659462fe6b9320d241676cba97f67b.tar.gz"