initial import
This commit is contained in:
29
dreamchess/PKGBUILD
Normal file
29
dreamchess/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=dreamchess
|
||||
pkgver=0.3.0
|
||||
pkgrel=1
|
||||
pkgdesc="DreamChess - OpenGL Chess Game"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/dreamchess/dreamchess"
|
||||
license=('GPL-3')
|
||||
groups=('games')
|
||||
depends=('pugixml' 'sdl2_mixer' 'sdl2_image' 'glew' 'hicolor-icon-theme')
|
||||
makedepends=('flex' 'bison' 'cmake')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dreamchess/dreamchess/archive/refs/tags/${pkgver}.tar.gz")
|
||||
sha512sums=('8f6178f0e71e2dd3d08c4f215940d885b885985c6e780efa773ce99e8ad0bc1ecaee7c8f6303d4acc1e342d1da9be64ef51b3c606d21dc6071ee0b78849529db')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
cmake -B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_BINDIR=games \
|
||||
-DCMAKE_INSTALL_DATADIR=share/games
|
||||
make -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make -C build DESTDIR="${pkgdir}" install
|
||||
install -Dm644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user