blob: e4803e0954294d6bb6d986a9756b537916344916 (
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
|
# Maintainer: Yuki Joou <yukijoou@kemonomimi.gay>
pkgname=axmldec
pkgver=1.2.0
pkgrel=1
pkgdesc="Stand-alone binary AndroidManifest.xml decoder"
arch=(x86_64)
url="https://github.com/ytsutano/axmldec"
license=('ISC')
depends=('boost' 'zlib' 'minizip-ng')
makedepends=('cmake' 'doxygen')
source=("git+${url}"
"use-system-minizip.patch")
sha256sums=('SKIP'
'ec6e298a912a19131af2da4ac0ccd45d0ce58a51e2470380e86eafb6a2803609')
prepare() {
cd "$srcdir"/"$pkgname"
git submodule update --init --recursive
git checkout "v${pkgver}"
git apply ../use-system-minizip.patch
mkdir build/
cd build/
cmake -DCMAKE_BUILD_TYPE=Release ..
}
build() {
cd "$srcdir"/"$pkgname"/build
make
}
package() {
cd "$srcdir"/"$pkgname"/build
install -Dm755 "$pkgname" "$pkgdir/usr/bin/axmldec"
}
|