blob: 8513ab81389388e22bbe1378b1343e2703ffd447 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xboard
pkgver=4.7.2
pkgrel=0
pkgdesc="An X Window System graphical chessboard"
url="https://www.gnu.org/software/xboard/"
arch="all"
license="GPLv3+"
depends=""
depends_dev=""
makedepends="$depends_dev gtk+2.0-dev texinfo librsvg-dev cairo-dev libxt-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="ftp://ftp.gnu.org/pub/gnu/xboard/xboard-$pkgver.tar.gz"
_builddir="$srcdir"/xboard-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--with-gtk=yes \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="83ec086cbf5c4bc362a188654a9332fc xboard-4.7.2.tar.gz"
sha256sums="9b6736994b051499dcbe564051f6d964114a38fe47bbaab6dc7bde71a52ba9ee xboard-4.7.2.tar.gz"
sha512sums="00fada24279165e715426282e38f3f7a8dfd2aa15900ed7edd3c3e8de57ac425c1eb721df7bcf4ec4a980955cb42d69762ddd5e07af899e556820fff20607ad0 xboard-4.7.2.tar.gz"
|