blob: 7b096653ef0e9bda1060933b91a72e398e1f07a9 (
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
33
34
35
36
|
# Copyright (C) 2020 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the CC0 1.0 License.
# Maintainers: Parabola hackers <dev@lists.parabola.nu>
pkgname=fso-unbootimg
pkgver=0.1.2
pkgrel=2
pkgdesc="Utility to unpack images made with Android's mkbootimg"
arch=('armv7h' 'i686' 'x86_64')
url='git://github.com/freesmartphone/utilities.git'
license=('MIT')
depends=('zlib')
makedepends=('git')
_commit=('4566e120fc80fd372f68b20e044387bd97218bfd')
source=("git+https://github.com/freesmartphone/utilities.git#commit=${_commit}")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/utilities/android/image-utils"
./autogen.sh
}
build() {
cd "$srcdir/utilities/android/image-utils"
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package(){
cd "$srcdir/utilities/android/image-utils"
make DESTDIR="$pkgdir" install
rm -f $pkgdir/usr/bin/fastboot
rm -f $pkgdir/usr/bin/mkbootimg
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|