updated pkgbuild and gitignore

This commit is contained in:
wt
2024-12-26 15:33:06 +07:00
parent 99c96f41d8
commit 8294bb9d0a
2 changed files with 11 additions and 5 deletions
+2 -1
View File
@@ -3,4 +3,5 @@
*pkg *pkg
*udpchat* *udpchat*
bin bin
pkg pkg
arch
+9 -4
View File
@@ -1,19 +1,24 @@
# Maintainer: Tola Mironcenko <mironcenkotola@gmail.com> # Maintainer: Tola Mironcenko <mironcenkotola@gmail.com>
pkgname=udpchat pkgname=udpchat-git
_pkgname="${pkgname%-git}"
_reponame=udpchat
pkgver=1.0.1 pkgver=1.0.1
pkgrel=1 pkgrel=1
pkgdesc="Chat server based on udp" pkgdesc="Chat server based on udp"
arch=('x86_64') arch=('x86_64')
url="" url=""
conflicts=("$_pkgname")
license=('GPL') license=('GPL')
source=("git+https://gitea.home.com:3000/TolaMironcenko/udpchat.git") source=("git+https://gitea.home.com:3000/TolaMironcenko/udpchat.git")
build() { build() {
cd $srcdir cd $_reponame
make make
} }
package() { package() {
cd $srcdir cd $_reponame
make INSTALL_DIR="$pkgdir/usr/local/bin/" install make DESTDIR="$pkgdir/usr/local/bin/" install
} }
cksums=('SKIP')