summaryrefslogtreecommitdiff
path: root/pcr/debuerreotype/PKGBUILD
blob: b895113930ecbc7d56d6dd363d34c8caf0fbfe91 (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
# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the CC0 1.0 License.
# Maintainer: Parabola Hackers <dev@lists.parabola.nu>

pkgname=debuerreotype
pkgver=0.15
pkgrel=1
pkgdesc="Create reproducible rootfs with debootstrap"
arch=('any')
url='https://github.com/debuerreotype/debuerreotype'
license=('expat')
depends=('debootstrap'
         'util-linux') # for unshare
source=("https://github.com/debuerreotype/debuerreotype/archive/refs/tags/0.15.tar.gz")
sha512sums=('4708df711bd091af8865588c6578d68d4a1e2fae07fc1515a1b2951e059c3cd8c40417c1c66cddd67c1298d3f2ce691c1d166cc875294a919424ff20e1a7e64f')

package(){
	cd "${pkgname}-${pkgver}"

	install -d "${pkgdir}/usr/bin/"
	for script in scripts/* scripts/.*.sh scripts/.*clude* ; do
		echo $script
		install -m755 ${script} -t "${pkgdir}/usr/bin/"
	done

	install           -d "${pkgdir}/usr/share/doc/${pkgname}/"
	install README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"

	install           -d "${pkgdir}/usr/share/licenses/${pkgname}/"
	install LICENSE   -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}