Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new pkgbuild for aur #110

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ cristeigabriel
G-4-M-3-R
keenan
u2ooS
vanillamilkk
37 changes: 37 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Maintainer: vanillamilkk <[email protected]>
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"
}
10 changes: 10 additions & 0 deletions gamesneeze.desktop
Original file line number Diff line number Diff line change
@@ -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
Binary file added res/gamesneeze.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/gamesneeze.xcf
Binary file not shown.
Binary file modified res/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.