blob: c437e14091bc86966064a98b73f301b1a57ffbee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Munzir Taha <munzirtaha@gmail.com>
pkgname=chessx
pkgver=1.6.2
pkgrel=4
pkgdesc="Cross-platform chess database and PGN viewer"
arch=(x86_64)
url=http://chessx.sourceforge.net
license=(GPL-2.0-or-later)
depends=(qt5-multimedia)
makedepends=(qt5-tools qt5-svg qt5-speech)
conflicts=($pkgname-git)
source=("https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tgz")
sha256sums=('bb091d849cb02d6309978fe284c9f1a85c274f35122fe91c6b9c3089a6e20f80')
build() {
cd $pkgname-master
qmake-qt5
make
}
package() {
cd $pkgname-master
install -Dvm644 unix/$pkgname.desktop -t $pkgdir/usr/share/applications/
install -Dvm644 data/images/$pkgname*.png -t $pkgdir/usr/share/pixmaps/
install -Dvm755 release/$pkgname -t $pkgdir/usr/bin/
install -Dvm644 ChangeLog* README* INSTALL.md TODO.md -t $pkgdir/usr/share/doc/$pkgname/
}
|