updated pkgbuild and gitignore

This commit is contained in:
wt committed 2024-12-26 15:33:06 +07:00
1 parent 99c96f41d8
commit 8294bb9d0a
2 files changed
+11 -5

No files matched your search

+2 -1
View File
@@ -3,4 +3,5 @@
*pkg
*udpchat*
bin
pkg
pkg
arch
+9 -4
View File
@@ -1,19 +1,24 @@
# Maintainer: Tola Mironcenko <mironcenkotola@gmail.com>
pkgname=udpchat
pkgname=udpchat-git
_pkgname="${pkgname%-git}"
_reponame=udpchat
pkgver=1.0.1
pkgrel=1
pkgdesc="Chat server based on udp"
arch=('x86_64')
url=""
conflicts=("$_pkgname")
license=('GPL')
source=("git+https://gitea.home.com:3000/TolaMironcenko/udpchat.git")
build() {
cd $srcdir
cd $_reponame
make
}
package() {
cd $srcdir
make INSTALL_DIR="$pkgdir/usr/local/bin/" install
cd $_reponame
make DESTDIR="$pkgdir/usr/local/bin/" install
}
cksums=('SKIP')