# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Loic Guegan pkgname=ochess pkgver=v0.0.1 pkgrel=1 epoch= pkgdesc="Chess game analysis software written in c++" arch=("any") url="https://gitlab.com/manzerbredes/ochess" license=('GPLv3') groups=() depends=(wxwidgets-gtk3) makedepends=(cmake wxwidgets-common) source=("http://loicguegan.com/files/ochess-v0.0.1.tar.gz") sha256sums=(91948602423da0042f26777a8573f16fa02124843b2fcb10e238c70ef6d32288) #generate with 'makepkg -g' prepare() { cd "$srcdir/$pkgname-$pkgver" } build() { cd "$srcdir/$pkgname-$pkgver" mkdir -p build cd build cmake ../ make -j4 } package() { cd "$srcdir/$pkgname-$pkgver" cd build install -Dm775 ochess "${pkgdir}/usr/bin/ochess" }