Verified Commit ba26b276 authored by Dolphin von Chips's avatar Dolphin von Chips 🗿 Committed by Bart Ribbers
Browse files

modem/pd-mapper: new aport (MR 1080)

parent 6bd3f0ea
Pipeline #148946134 passed with stages
in 1 minute and 29 seconds
# Maintainer: Dolphin von Chips <DoIphinChips@protonmail.com>
pkgname=pd-mapper
pkgver=0_git20200314
pkgrel=0
_commit="ab5074fdd5e4130578aa4c99b00d44527a79636f"
pkgdesc="Qualcomm PD mapper"
url="https://github.com/andersson/pd-mapper"
arch="all"
license="BSD-3-Clause"
makedepends="qrtr-dev"
source="https://github.com/andersson/pd-mapper/archive/$_commit/pd-mapper-$_commit.tar.gz
pd-mapper.initd
"
subpackages="$pkgname-doc $pkgname-openrc"
builddir="$srcdir/pd-mapper-$_commit"
options="!check" # No test suite
build() {
make prefix="/usr"
}
package() {
make prefix="/usr" DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/lib/systemd
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
install -Dm755 "$srcdir"/pd-mapper.initd "$pkgdir"/etc/init.d/pd-mapper
}
sha512sums="5b40b5a4d8117d4e59a9a3646a9af4d3128e2c1321d03d6993b1aa7e40265f2cdec90fb643200c652f5b10f7903272f1bca9445874a7092c339b5b70d71811d0 pd-mapper-ab5074fdd5e4130578aa4c99b00d44527a79636f.tar.gz
84956dbad2402b5942f894dbf8101ea67d114b89e4e42923792faac6c8dac5c9cc0d3001d1aef6406b4e9098cca2696ce64fdc8cd8f7b6d83655c922c0b5e88f pd-mapper.initd"
#!/sbin/openrc-run
supervisor=supervise-daemon
name="pd-mapper"
description="Qualcomm PD mapper service"
command="/usr/bin/pd-mapper"
depend() {
need qrtr-ns
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment