mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-06-03 21:17:39 +00:00
Create repository
This commit is contained in:
commit
ce941c146a
127 changed files with 16162 additions and 0 deletions
32
tools/packages/archlinux/PKGBUILD
Normal file
32
tools/packages/archlinux/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Loic Guegan <loic.guegan@mailbox.org>
|
||||
|
||||
pkgname=ochess
|
||||
pkgver=0.1
|
||||
pkgrel=0.1
|
||||
pkgdesc='Open source chess database/games management.'
|
||||
arch=(x86_64)
|
||||
url='https://gitlab.com/manzerbredes/ochess'
|
||||
license=(GPL)
|
||||
depends=()
|
||||
makedepends=(wxgtk3-dev gcc)
|
||||
source=("ochess-master.tar.bz2")
|
||||
sha256sums=('b9ca8efd769945b5cc55370a863d2f8f4bca82699c5f775c844a7b95a2829187')
|
||||
options=(!buildflags)
|
||||
|
||||
build() {
|
||||
cd ochess-master
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ../
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
mkdir -p $pkgdir/usr/bin/
|
||||
mkdir -p $pkgdir/usr/share/ochess/
|
||||
|
||||
cd ochess-master/build/
|
||||
cp ochess $pkgdir/usr/bin/
|
||||
cp -r assets $pkgdir/usr/share/ochess/
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue