blob: 7031ef42bbb570d1855f28befc08bc89a42ab312 (
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
|
# Maintainer : Özgür Sarıer <echo b3pndXJzYXJpZXIxMDExNjAxMTE1QGdtYWlsLmNvbQo= | base64 -d>
pkgname=imgpatchtools
pkgver=0.3.r5.g64a745d
pkgrel=1
pkgdesc="Patch img files with system.patch.dat, like OTA zip on PC"
arch=('any')
url="https://github.com/erfanoabdi/imgpatchtools"
license=('GPL')
depends=('zlib' 'bzip2' 'openssl')
makedepends=('git')
source=("git+https://github.com/erfanoabdi/$pkgname.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/$pkgname"
make all
}
package() {
cd "${srcdir}/$pkgname"
install -d "${pkgdir}/usr/bin/"
install -Dm0755 ./bin/* "${pkgdir}/usr/bin/"
}
|