fix: wrong package name

This commit is contained in:
LordMZTE 2022-12-23 23:34:08 +01:00
parent a7abc01b8f
commit efb1a96bc8
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -2,7 +2,8 @@
# Maintainer: Edgar Luque <git@edgarluque.com>
# Maintainer: LordMZTE <lord@mzte.de>
pkgname=ddnet
_pkgname=ddnet
pkgname="${_pkgname}-mzte"
pkgver=16.6
pkgrel=1
pkgdesc="A Teeworlds modification with a unique cooperative gameplay. LordMZTE's build options."
@ -44,7 +45,7 @@ check() {
package() {
DESTDIR="$pkgdir" ninja install -C build
install -vDm644 DDNet-$pkgver/license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
install -vDm644 DDNet-$pkgver/license.txt "$pkgdir/usr/share/licenses/$_pkgname/license.txt"
install -vDm644 "$srcdir/ddnet-server.service" "$pkgdir/usr/lib/systemd/system/ddnet-server.service"
install -vDm644 "$srcdir/ddnet-sysusers.conf" "$pkgdir/usr/lib/sysusers.d/ddnet.conf"
install -vDm644 "$srcdir/ddnet-tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/ddnet.conf"