~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

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

Milan P. Stanić
Details
Message ID
<20190421211453.9868-1-mps@arvanta.net>
Sender timestamp
1555881293
DKIM signature
missing
Download raw message
Patch: +39 -0
---
Changes v1 -> v2:
 - removed bash from makedepends

 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..d23de9b307
--- /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="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
---