diff options
author | aksr | 2020-03-20 13:57:07 +0100 |
---|---|---|
committer | aksr | 2020-03-20 13:57:07 +0100 |
commit | b2f984f095ba8120aa5a18fcded401b6b5aa820a (patch) | |
tree | 77f8db91d5b2439cc560a7bf92ea331607505190 | |
download | aur-popeye-chess.tar.gz |
Start.
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5b40cf6266f2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Fri Mar 20 12:57:07 UTC 2020 +pkgbase = popeye-chess + pkgdesc = A chess problem solving and testing software with strong support for fairy chess and heterodox genres. + pkgver = 4.69 + pkgrel = 1 + url = http://sourceforge.net/projects/popeye-chess/ + arch = i686 + arch = x86_64 + license = GPL2 + source = http://downloads.sourceforge.net/project/popeye-chess/Popeye/4.69/popeye-4.69-sources.zip + md5sums = 507191b2d95f5937c112541b92f10c26 + sha1sums = 95e900d3e6f4e158beccfd6f703b7111701185cd + sha256sums = 13e13fa409afd4e5c899de9a73b5f8f1ef44f9bb14400cbb19a0c76391c52601 + +pkgname = popeye-chess + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f1816a119c42 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Auguste Pop <auguste [at] gmail [dot] com> +# Maintainer: aksr <aksr at t-com dot me> +pkgname=popeye-chess +pkgver=4.69 +pkgrel=1 +pkgdesc="A chess problem solving and testing software with strong support for fairy chess and heterodox genres." +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/popeye-chess/" +license=('GPL2') +source=("http://downloads.sourceforge.net/project/${pkgname}/Popeye/${pkgver}/${pkgname%-*}-${pkgver}-sources.zip") +md5sums=('507191b2d95f5937c112541b92f10c26') +sha1sums=('95e900d3e6f4e158beccfd6f703b7111701185cd') +sha256sums=('13e13fa409afd4e5c899de9a73b5f8f1ef44f9bb14400cbb19a0c76391c52601') + +build() { + cd "$srcdir/$pkgver" + CFLAGS="$CFLAGS -march=native -mtune=native" make -f makefile.unx +} + +package() { + cd "$srcdir/$pkgver" + install -D -m755 py "$pkgdir/usr/bin/py" + install -d "$pkgdir/usr/share/doc/${pkgname%-*}" + install -m 644 py-*.txt "$pkgdir/usr/share/doc/${pkgname%-*}" +} |