diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 73ade0f9..0197e5a2 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -10,3 +10,4 @@ cristeigabriel G-4-M-3-R keenan u2ooS +vanillamilkk diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..06d211eb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: vanillamilkk +pkgname=gamesneeze-git +pkgver=r537.f5bac9c +pkgrel=1 +pkgdesc="An open source training utility for Counter-Strike: Global Offensive on Linux." +arch=('x86_64') +url="https://github.com/poIak/gamesneeze/" +license=('MIT') +depends=('base-devel' 'git' 'cmake' 'gdb' 'sdl2' 'clang') +optdepends=('steam: downloading csgo with steam' + 'steam-native-runtime: downloading csgo with steam from native library') +source=("git+https://github.com/poIak/gamesneeze.git") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$pkgname" + mkdir -p build + cd build + cmake -D CMAKE_BUILD_TYPE=Release .. + make -j $(nproc --all) +} + +package() { + install -Dm 644 gamesneeze.desktop "${pkgdir}/usr/share/applications/gamesneeze.desktop" + install -Dm 644 res/gamesneeze.png "${pkgdir}/usr/share/pixmaps/gamesneeze.png" + install -Dm 500 toolbox.sh "${pkgdir}/opt/gamesneeze/toolbox.sh" + install -Dm 755 gdb "${pkgdir}/opt/gamesneeze/gdb" + cd "$srcdir/build" + mkdir -p "${pkgdir}/opt/gamesneeze" + mkdir -p "${pkgdir}/opt/gamesneeze/build" + install -Dm 500 libgamesneeze.so "${pkgdir}/opt/gamesneeze/build/libgamesneeze.so" +} diff --git a/gamesneeze.desktop b/gamesneeze.desktop new file mode 100644 index 00000000..97099bf3 --- /dev/null +++ b/gamesneeze.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Exec=/opt/gamesneeze/toolbox.sh -u -l +Path=/opt/gamesneeze +Icon=gamesneeze +Name=gamesneeze +GenericName=CS:GO Training Utility +Categories=Utility +Description=An open source training utility for Counter-Strike: Global Offensive on Linux. +Comment=gamesneeze-linux diff --git a/res/gamesneeze.png b/res/gamesneeze.png new file mode 100644 index 00000000..66b8944e Binary files /dev/null and b/res/gamesneeze.png differ diff --git a/res/gamesneeze.xcf b/res/gamesneeze.xcf new file mode 100644 index 00000000..37ac1078 Binary files /dev/null and b/res/gamesneeze.xcf differ diff --git a/res/logo.png b/res/logo.png index d4ec53ce..ef4ac9fb 100644 Binary files a/res/logo.png and b/res/logo.png differ