summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornano132017-11-08 00:41:13 +0100
committernano132017-11-08 00:41:13 +0100
commitc88ede7462ff8b918fa6b5fdd081fb07c677b81d (patch)
treecd8b7aab09a99377ae96985c010689c1e591029d
parentebfc6582e922511cc405a10c7fdfd50021a63ce2 (diff)
downloadaur-c88ede7462ff8b918fa6b5fdd081fb07c677b81d.tar.gz
adding .desktop entry with icon
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD10
2 files changed, 12 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..c8269c6c7d10
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+tambi-git-*
+tambi/
diff --git a/PKGBUILD b/PKGBUILD
index 814cd0177941..b4f489dbe173 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
_pkgname=('tambi')
pkgname=('tambi-git')
-pkgver=583
+pkgver=598
pkgrel=1
-pkgdesc='eine eierlegende wollmilchsau'
+pkgdesc='A swiss army knife for studiing the bible and much more'
arch=('any')
licence=('undecided')
url='https://github.com/nano13/tambi.git'
@@ -22,6 +22,12 @@ pkgver() {
package() {
cd "$srcdir"/"$_pkgname"
+ # putting the freedesktop .desktop file and the program icon to the right place
+ mkdir -p "$pkgdir"/usr/share/applications
+ mkdir -p "$pkgdir"/usr/share/pixmaps
+ install -Dm744 assets/tambi.desktop "$pkgdir"/usr/share/applications
+ install -Dm744 assets/icons/logo.ico "$pkgdir"/usr/share/pixmaps/tambi.ico
+
mkdir -p "$pkgdir"/usr/share/$pkgname
mv * "$pkgdir"/usr/share/$pkgname
#install -dm577 "$pkgdir"/usr/share/$pkgname/