blob: 03975b85f74ac0ec30b52d09e4b28bbfa787b4ec (
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
31
32
|
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch>
pkgname=emmcdl-git
pkgver=0.r88.d7b7804
pkgrel=2
pkgdesc="Console utility for working with device partitions based on the Qualcomm processor for Linux"
arch=('x86_64' 'aarch64')
url="https://github.com/Zalexanninev15/emmcdl"
license=('GPL3')
makedepends=('git' 'autoconf')
source=("${pkgname}::git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
aclocal
autoconf
automake --add-missing
./configure
make
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 emmcdl $pkgdir/usr/bin/emmcdl
}
|