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 /PKGBUILD | |
download | aur-popeye-chess.tar.gz |
Start.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
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%-*}" +} |