stc/PKGBUILD

30 lines
568 B
Text
Raw Permalink Normal View History

pkgname=stc-git
_gitname=stc
pkgver=0.1.6
2024-10-05 17:13:33 +02:00
pkgrel=1
pkgdesc="Easily download collections and mods from steam."
url="https://github.com/DRAGONTOS/stc"
2024-10-05 17:13:33 +02:00
arch=('x86_64')
license=('GPLv3')
makedepends=('git' 'cmake' 'ninja')
provides=('stc')
conflicts=('stc')
source=('git+https://github.com/DRAGONTOS/stc.git')
2024-10-05 17:13:33 +02:00
md5sums=('SKIP')
prepare() {
rm -rf build
}
build() {
cd ${_gitname}
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -S . -B ./build -G Ninja
cmake --build ./build
chmod -R 777 ./build
}
package() {
cd ${_gitname}
sudo make install
}