Patches for aports can be sent to this list

[alpine-aports] [PATCH] testing/gnuchess: new aport

Milan P. Stanić
Details
Message ID
<20190420193101.8161-1-mps@arvanta.net>
Sender timestamp
1555788661
DKIM signature
missing
Download raw message
Patch: +39 -0
---
 testing/gnuchess/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 testing/gnuchess/APKBUILD

diff --git a/testing/gnuchess/APKBUILD b/testing/gnuchess/APKBUILD
new file mode 100644
index 0000000000..1ccc90cac9
--- /dev/null
+++ b/testing/gnuchess/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Milan P. Stanić <mps@arvanta.net>
+# Maintainer: Milan P. Stanić <mps@arvanta.net>
+pkgname=gnuchess
+pkgver=6.2.5
+pkgrel=0
+pkgdesc="GNU Chess"
+url="http://www.gnu.org/software/chess/chess.html"
+arch="all"
+license="GPL-3"
+depends=""
+makedepends="bash gettext-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://ftp.gnu.org/gnu/chess/$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
+	make
+}
+
+check() {
+	cd "$builddir"
+	make check
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f3f65a85eb4c93f6f10c7058bde7ee7f4a48c2f465b24a7cc0d5bcafe4df186b434ce23bf8c032d012efffba39c6c3c60ada484ff22d87114ce2be5dd0da6835  gnuchess-6.2.5.tar.gz"
-- 
2.20.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---