blob: db038c463b441027f8a41489c711327ee150468a (
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
|
# Contributor: Bet4 <0xbet4@gmail.com>
# Maintainer: Bet4 <0xbet4@gmail.com>
_pkgname=uber-apk-signer
pkgname=$_pkgname-bin
pkgver=1.3.0
pkgrel=1
pkgdesc='A cli tool that helps signing and zip aligning APKs with certificates.'
arch=('any')
url='https://github.com/patrickfav/uber-apk-signer'
license=('Apache')
depends=('java-runtime')
provides=($_pkgname)
conflicts=($_pkgname)
source=(
"$url/releases/download/v${pkgver}/${_pkgname}-${pkgver}.jar"
$_pkgname
)
sha256sums=('e1299fd6fcf4da527dd53735b56127e8ea922a321128123b9c32d619bba1d835'
'44581b4d134c1eb8d5f77b8c1da6930baa86a494d11c3b15af272653ced5e2fd')
package() {
cd "$srcdir"
install -Dm644 "$_pkgname-$pkgver.jar" "$pkgdir/usr/share/java/$_pkgname/$_pkgname.jar"
install -d "$pkgdir/usr/bin"
install -Dm755 "$srcdir/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}
|