upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / mkinitcpio-utils / trunk / PKGBUILD
blob3b820cdf1246ec4460f4d635fe5af3f803828813
1 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
2 pkgname=mkinitcpio-utils
3 pkgver=0.0.4
4 pkgrel=1
5 pkgdesc="Collection of Archlinux mkinitcpio utilities performing various tasks"
6 arch=('any')
7 url="https://github.com/grazzolini/mkinitcpio-utils"
8 license=('BSD')
9 depends=('cryptsetup')
10 optdepends=('mkinitcpio-dropbear: Allow the encryptssh hook to unlock a root container remotely using dropbear'
11             'mkinitcpio-tinyssh: Allow the encryptssh hook to unlock a root container remotely using tinyssh')
12 changelog='ChangeLog'
13 source=("${pkgname}-${pkgver}.tar.gz::$url/archive/v$pkgver.tar.gz")
14 sha512sums=('15e9cae788df4727dc148090831e0bfaeefd0ecae49ac9f0cbab4ded4639841d151cd291658055d9385a8f49bb91aee1d6ab8d5f6b0cc161586a9e355457cad0')
16 package() {
17   install -Dm755 "$srcdir/$pkgname-$pkgver/utils/shells/cryptsetup_shell"       "$pkgdir/usr/share/$pkgname/utils/shells/cryptsetup_shell"
18   install -Dm644 "$srcdir/$pkgname-$pkgver/README.md"                           "$pkgdir/usr/share/$pkgname/README.md"
19   install -Dm644 "$srcdir/$pkgname-$pkgver/initcpio/hooks/encryptssh"           "$pkgdir/usr/lib/initcpio/hooks/encryptssh"
20   install -Dm644 "$srcdir/$pkgname-$pkgver/initcpio/install/encryptssh"         "$pkgdir/usr/lib/initcpio/install/encryptssh"
21   install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE"                             "$pkgdir/usr/share/licenses/$pkgname/LICENSE"