Change pkgname

This commit is contained in:
Marko Korhonen 2024-05-09 12:51:13 +03:00
parent 60b945ce25
commit e88176ff5e
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 7 additions and 5 deletions

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
mkinitcpio-dropbear-*.tar.zst
mkinitcpio-dropbear*.tar.zst
src/
pkg/

View file

@ -2,12 +2,14 @@
# Contributor: Caleb Maclennan <caleb@alerque.com>
# Contributor: Giancarlo Razzolini <grazzolini@archlinux.org>
pkgname=mkinitcpio-dropbear
pkgname=mkinitcpio-dropbear2
pkgname_="mkinitcpio-dropbear"
conflicts=("$pkgname_")
pkgver=0.1.0
pkgrel=1
pkgdesc='hook to install and enable the dropbear daemon in early userspace'
arch=(any)
url="https://git.korhonen.cc/FunctionalHacker/$pkgname"
url="https://git.korhonen.cc/FunctionalHacker/$pkgname_"
license=(GPL3)
depends=(dropbear psmisc)
optdepends=(
@ -20,7 +22,7 @@ source=(
"dropbear_install"
"LICENSE"
)
backup=( "etc/dropbear/config" )
backup=("etc/dropbear/config")
changelog=ChangeLog
sha256sums=('9852ab6a3ba4191ed3eabbfebb2876fe7ff1003f62309043ec0b8b9374e3b9ee'
'3f6cb2c6edd2a5510e9d2366b68815b0d0f9d7cfc066c26c4b842af44d2024fd'
@ -30,5 +32,5 @@ package() {
install -Dm0644 dropbear_hook "$pkgdir/usr/lib/initcpio/hooks/dropbear"
install -Dm0644 dropbear_install "$pkgdir/usr/lib/initcpio/install/dropbear"
install -Dm0644 dropbear_config "$pkgdir/etc/dropbear/config"
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname_/" LICENSE
}