main/make-dynpart-mappings: new package (MR 3088)

This commit is contained in:
Richard Acayan 2022-05-11 18:10:35 -04:00 committed by Oliver Smith
parent 64ef5024d0
commit 2a120bd2f6
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1 @@
/usr/bin/make-dynpart-mappings

View file

@ -0,0 +1,28 @@
# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=make-dynpart-mappings
pkgver=10.2.3
pkgrel=0
pkgdesc="a command-line tool that uses the device mapper to make block devices based on dynamic partitions"
url="https://gitlab.com/flamingradian/make-dynpart-mappings/"
arch="all"
license="GPL-3.0-only"
depends="device-mapper-libs libblkid libmd"
makedepends="gcc libmd-dev lvm2-dev util-linux-dev"
source="https://gitlab.com/flamingradian/make-dynpart-mappings/-/archive/$pkgver/make-dynpart-mappings-$pkgver.tar.gz
10-setup-dynamic-partitions.files
"
options="!check"
build() {
make
}
package() {
install -Dm755 "$builddir/make-dynpart-mappings" "$pkgdir/usr/bin/make-dynpart-mappings"
install -Dm644 "$srcdir/10-setup-dynamic-partitions.files" "$pkgdir/etc/postmarketos-mkinitfs/files/10-setup-dynamic-partitions.files"
}
sha512sums="
151eb40229e58ef2aa2560018f85d79af1341928d48e1d42ec4b3324e73f512147a389ea3302ba3b239c58a24bb070f6f72753ab762002a8b8392278e0889005 make-dynpart-mappings-10.2.3.tar.gz
c240f51e76efd049098e446fd0a78b4323b7b2c50e09bec69c51f666d56799862b878b3e2fa3c79ccf26bc1757aebb9826f46ab0a1d0ecd779f53d2153eadc9a 10-setup-dynamic-partitions.files
"