pmaports/main/make-dynpart-mappings/APKBUILD
2022-05-12 09:43:53 +02:00

28 lines
1.2 KiB
Text

# 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
"