Mail archive
alpine-aports

[alpine-aports] [PATCH v2] testing/xboard: new aport

From: Milan P. Stanić <mps_at_arvanta.net>
Date: Sun, 21 Apr 2019 23:18:37 +0200

---
Changes v1 -> v2:
 - removed bash from makedepends
 testing/xboard/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 testing/xboard/APKBUILD
diff --git a/testing/xboard/APKBUILD b/testing/xboard/APKBUILD
new file mode 100644
index 0000000000..af602b4d19
--- /dev/null
+++ b/testing/xboard/APKBUILD
_at_@ -0,0 +1,41 @@
+# Contributor: Milan P. Stanić <mps_at_arvanta.net>
+# Maintainer: Milan P. Stanić <mps_at_arvanta.net>
+pkgname=xboard
+pkgver=4.9.1
+pkgrel=0
+pkgdesc="X interface for gnuchess"
+url="http://www.gnu.org/software/xboard/"
+arch="all"
+license="GPL-3.0-or-later"
+depends=""
+makedepends="gtk+3.0-dev cairo-dev librsvg-dev texinfo gettext-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
+		--with-gtk \
+		--enable-zippy
+	make
+}
+
+check() {
+	cd "$builddir"
+	make check
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7c6f17450edc3f56d5987f6363da01633850b87b0d6664524a4697216dc66aa58f84314ba57ee68aebfbb01ef96995e34be4e98fb4a5124e3f5090690f91ae08  xboard-4.9.1.tar.gz"
-- 
2.20.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Apr 21 2019 - 23:18:37 UTC