summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortdy2017-01-21 23:46:54 -0600
committertdy2017-01-21 23:46:54 -0600
commit617b8f8f4cfe7ab896368fa0db9dd788ab1b91e5 (patch)
tree977280994dce22de2fde7d188f22fe4f9d113deb
parent8c6f6d08703032ec1a899ee172f5e4489128e45c (diff)
downloadaur-617b8f8f4cfe7ab896368fa0db9dd788ab1b91e5.tar.gz
Add desktop entry to the GUI package
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d1aea80ca77f..20970484a0fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cutechess
pkgdesc = Tools for working with chess engines
pkgver = 0.9.4
- pkgrel = 1
+ pkgrel = 2
url = http://cutechess.com
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 3b1f662d67fc..92ae6dda7497 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=cutechess
pkgname=(cutechess cutechess-cli libcutechess libcutechess-docs)
pkgver=0.9.4
-pkgrel=1
+pkgrel=2
pkgdesc="Tools for working with chess engines"
arch=(i686 x86_64)
url=http://cutechess.com
@@ -32,6 +32,10 @@ package_cutechess() {
cd $pkgbase-gui-$pkgver/projects
install -Dm755 gui/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 COPYING.gui "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+ install -Dm644 gui/res/icons/${pkgname}_32x32.xpm \
+ "$pkgdir"/usr/share/pixmaps/${pkgname}_32x32.xpm
+ install -Dm644 ../dist/linux/$pkgname.desktop \
+ "$pkgdir"/usr/share/applications/$pkgname.desktop
}
package_cutechess-cli() {