35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
|
# Contributor: Luca Weiss <luca@z3ntu.xyz>
|
||
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
||
|
pkgname=ta-service
|
||
|
pkgver=0_git20180925
|
||
|
pkgrel=0
|
||
|
pkgdesc="TA services for msm8974-based Sony Xperia devices"
|
||
|
url="https://github.com/andersson/ta-service"
|
||
|
arch="armv7" # only useful on armv7 Sony phones
|
||
|
license="BSD-3-Clause"
|
||
|
makedepends="qmic qrtr-dev"
|
||
|
_commit="594fd47a92dd6a9fcb47e221537185510bc488b8"
|
||
|
subpackages="$pkgname-openrc"
|
||
|
source="
|
||
|
https://github.com/andersson/ta-service/archive/$_commit/ta-service-$_commit.tar.gz
|
||
|
ta-service.initd
|
||
|
"
|
||
|
builddir="$srcdir/ta-service-$_commit"
|
||
|
options="!check" # No tests
|
||
|
|
||
|
build() {
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
make DESTDIR="$pkgdir" prefix=/usr install
|
||
|
|
||
|
install -Dm755 "$srcdir"/ta-service.initd \
|
||
|
"$pkgdir"/etc/init.d/ta-service
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
6e7e2420f321634e157483f7d06347a4a02d91c500cabdc8fe80b0f109dde8a2c2f9b30c36e82d5e5212c6f77f1570af3efe2fa0b88700093d52a319b3c76099 ta-service-594fd47a92dd6a9fcb47e221537185510bc488b8.tar.gz
|
||
|
0b94b32fa640ad61534cec83408c21ddb5c36434cc934be5399716b33b64bbedb64652ed9200292bee57c3b4fb4fbc45ce98a23aaab5a61471dc4c43c450cf94 ta-service.initd
|
||
|
"
|