blob: 7cf9937ed9d6301cf49431f32928ada84265e6e6 (
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
|
# Contributor: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
pkgname=fso-unbootimg
pkgver=0.1.2
pkgrel=1
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')
_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
}
|