blob: 47fbe2ff1a1319e0657726cf461e5da4b26f8c49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Conrad Hoffmann <ch@bitfehler.net>
pkgname=makeimg
pkgver=0.9.0
pkgrel=1
pkgdesc='Declarative way to build Linux system images'
arch=(any)
url='https://sr.ht/~bitfehler/makeimg'
license=(GPL2)
depends=(
'coreutils'
'tar'
'util-linux'
)
optdepends=(
'apk-tools: for building Alpine images'
'arch-install-scripts: for building Arch images'
'debootstrap: for building Debian images'
'parted: for building disk images'
'patch: for applying patches'
)
makedepends=(
scdoc
make
)
provides=('makeimg')
conflicts=('makeimg-git')
source=("${pkgname}-${pkgver}.tar.gz::https://git.sr.ht/~bitfehler/makeimg/archive/v${pkgver}.tar.gz")
sha512sums=('b6144482ecf1dbd0c2127ad1a3cd777d0fb389d3096493568882e1b6124e0997550a577140dce65ac4143bcefc7632493b36fe432d44424bec1a075cca7caaeb')
build() {
cd "${pkgname}-v${pkgver}"
make man
}
package() {
cd "${pkgname}-v${pkgver}"
install -Dm755 makeimg -t "$pkgdir/usr/bin/"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/makeimg"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/makeimg"
install -Dm644 doc/makeimg.1.gz -t "${pkgdir}/usr/share/man/man1/"
install -Dm644 doc/IMGBUILD.5.gz -t "${pkgdir}/usr/share/man/man5/"
}
# vim: ts=2 sw=2 et
|