upgpkg: distrobuilder-create 0.2-1

* New upstream release.
* Ensure /etc/sudoers.d has the correct permissions.
This commit is contained in:
George Rawlinson 2021-09-13 07:14:18 +00:00
parent be288da091
commit 095e04b129
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -1,7 +1,7 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=distrobuilder-create
pkgver=0.1
pkgver=0.2
pkgrel=1
pkgdesc="Automatically create images with distrobuilder"
arch=('any')
@ -10,8 +10,8 @@ license=('GPL')
depends=('lxd' 'distrobuilder' 'sudo' 'systemd')
checkdepends=('shfmt' 'shellcheck')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('687c88453d09ab7d76e3f478ff32f71db85b17652598644f3557034d0ffa82dd40a59069012a0849aa4ccdf34c882fe7df0ab22063e8ceb79a0488d58fa15196')
b2sums=('729bece0188ac50b8aeac0111a2da9b6256af254522726151ddd96600c351cc96dc18c329a90b84489c211da4c07bb90209d584dde624ec9b098ae3e0e2b647a')
sha512sums=('8d150c932d8a54130717d04fe8b1ab16bc5acc4b2972d8dec3ec6d5586bbcbd8277959a24af61671675f3592355e9b8a0b6241740d6d155e98cc4fd9ccb1ce20')
b2sums=('d87245965a362536ef3dcd036646c7eb638f631addaf99e21bbbb5bea2c30c29af8f1d81494cc49758d8cc294797b4e5ebd777c424a53ca2b6700a6a87ee9239')
check() {
cd "$pkgname"
@ -30,6 +30,7 @@ package() {
install -vDm755 distrobuilder-create.sh "$pkgdir/usr/bin/$pkgname"
# drop-in sudoers snippet
install -vd 0750 "$pkgdir/etc/sudoers.d"
install -vDm440 sudoers.conf "$pkgdir/etc/sudoers.d/$pkgname"
# systemd integration