Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6F828782C3A for ; Sat, 17 Jul 2021 09:30:33 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stacyharper.net; s=key1; t=1626514232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=W2SeHdTWc/VEu4rB1K9wR8m1tFkMpVRZIYFJuKP8Aus=; b=GGlR0DDZzmDcDt72cujdZdwa68RNqcIHWyw/ZfFW3f6WEk7BGuZ0NIYRYvFAwqKTR4DJnY 7SoC7I4wKkB0BLSPCFKOZ7MOye9sU05s0YGiBl9FVqaUGs86qVKsiszxsuFzkOD/N3oCzX 2eehIqT/wCDa4ALGXEp9eVaj3dWY0xPom8bAG3bM/hqZq9bTfFH5DuaftjC32tp2Nm4FW/ zew1fskQVMxmofIpUWh+N0QrsB9y5QsOy/uub+FqeUcdY0TfV30wIT8kcuGh6UOutNjZs7 qvQLR0LOvAjC/r4vOg7mDlSOQ1BvK0wcrg9XzDMqED61daDNweAlobOQAlbbUA== From: Stacy Harper To: alpine-aports@lists.alpinelinux.org Subject: [PATCH] community/mmsd: create -tools subpackage Date: Sat, 17 Jul 2021 11:30:27 +0200 Message-Id: <20210717093027.4046-1-contact@stacyharper.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: contact@stacyharper.net Signed-off-by: Stacy Harper --- community/mmsd/APKBUILD | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/community/mmsd/APKBUILD b/community/mmsd/APKBUILD index fe815555d9..dd75aa0144 100644 --- a/community/mmsd/APKBUILD +++ b/community/mmsd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Clayton Craft pkgname=mmsd pkgver=0.3 -pkgrel=0 +pkgrel=1 pkgdesc="daemon for receiving and managing GSM MMS messages" url="https://source.puri.sm/kop316/mmsd" arch="all !mips !mips64 !s390x" # blocked by modemmanager @@ -18,6 +18,7 @@ source=" mmsd.desktop " builddir="$srcdir/$pkgname-v$pkgver" +subpackages="$pkgname-tools" build() { abuild-meson . output @@ -34,5 +35,15 @@ package() { "$pkgdir"/etc/xdg/autostart/mmsd.desktop } +tools() { + mkdir -p "$subpkgdir"/usr/bin + cd "$srcdir/mmsd-v$pkgver" + + install -Dm755 \ + output/tools/create-hex-array \ + output/tools/decode-mms \ + "$subpkgdir"/usr/bin/ +} + sha512sums="4993a060dc839d5bf92b4e44c1264355c3fdfe502a9c654c75747a9944bfad44ef20b99278c8b6cef6b23eebf131faec9f5b19d4e46da0564634695b5b024245 mmsd-v0.3.tar.gz 1c0d28fd2f0ea4bf6532f84a8747b9cfb7e9361a05888fe911fa546759d5b0b668750d15bbb6b20d7f1e3f7362ca799a8a2eb61aa0a7b36e584756fe4f73e95c mmsd.desktop" -- 2.32.0