summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-05-01 23:37:08 +0200
committerhaawda2018-05-01 23:37:08 +0200
commit9ae564c4f1e9d85b48c680edc015245a7b1ff197 (patch)
treecf0382754306ab73bc6ad9febb9640f3645270f4
parentc154a6469f8620f0caadc796a95fda02a1910204 (diff)
downloadaur-9ae564c4f1e9d85b48c680edc015245a7b1ff197.tar.gz
add desktop file
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD26
-rw-r--r--stumpwm.desktop8
3 files changed, 26 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9a14853fbb8f..443ee0d99fec 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon Dec 4 23:32:29 UTC 2017
+# Tue May 1 21:36:42 UTC 2018
pkgbase = stumpwm-git
pkgdesc = A tiling, keyboard-driven window manager written in common lisp
- pkgver = 1.0.1.rc.29.g2d28580
+ pkgver = 1.0.1.rc.74.g2a971b8
pkgrel = 1
url = https://stumpwm.github.io
arch = i686
@@ -26,8 +26,10 @@ pkgbase = stumpwm-git
options = !strip
options = !makeflags
source = stumpwm::git+https://github.com/stumpwm/stumpwm
+ source = stumpwm.desktop
source = stumpwm-contrib-git::git+https://github.com/stumpwm/stumpwm-contrib
md5sums = SKIP
+ md5sums = b5721de9b1cbdb4548d11570a512c5d4
md5sums = SKIP
pkgname = stumpwm-git
diff --git a/PKGBUILD b/PKGBUILD
index 13fa3245fd33..f37bc3e34005 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=stumpwm-git
_pkgname=stumpwm
-pkgver=1.0.1.rc.29.g2d28580
+pkgver=1.0.1.rc.74.g2a971b8
pkgrel=1
pkgdesc="A tiling, keyboard-driven window manager written in common lisp"
arch=('i686' 'x86_64')
@@ -17,9 +17,10 @@ license=('GPL2')
conflicts=('stumpwm')
provides=('stumpwm')
-source=(${_pkgname}::git+https://github.com/stumpwm/stumpwm
+source=(${_pkgname}::git+https://github.com/stumpwm/stumpwm stumpwm.desktop
${_pkgname}-contrib-git::git+https://github.com/stumpwm/stumpwm-contrib)
md5sums=('SKIP'
+ 'b5721de9b1cbdb4548d11570a512c5d4'
'SKIP')
makedepends=('common-lisp' 'cl-asdf' 'clx-git' 'cl-ppcre' 'cl-alexandria')
@@ -36,14 +37,14 @@ optdepends=('xorg-xprop: for stumpish (StumpWM Interactive Shell)'
options=('!strip' '!makeflags') # Thanks to sidereus for pointing this out
pkgver() {
- cd ${srcdir}/${_pkgname}
+ cd ${_pkgname}
git describe --long --tags|tr - .|cut -c2-
}
_contribdest=/usr/share/stumpwm/contrib
build() {
- cd ${srcdir}/${_pkgname}
+ cd ${_pkgname}
autoconf
./configure --prefix=/usr --with-module-dir=${_contribdest}
@@ -51,7 +52,7 @@ build() {
}
package() {
- cd ${srcdir}/${_pkgname}
+ cd ${_pkgname}
make destdir="$pkgdir/" install
@@ -59,21 +60,22 @@ package() {
${pkgdir}/usr/share/${_pkgname}/stumpwmrc.sample
# contrib modules
- install -d ${pkgdir}${_contribdest}
+ install -d "$pkgdir"/${_contribdest}
cp -dr --no-preserve=ownership ${srcdir}/${_pkgname}-contrib-git/* \
${pkgdir}${_contribdest}
# stumpish
- install -Dm755 ${pkgdir}${_contribdest}/util/stumpish/stumpish \
- ${pkgdir}/usr/bin/stumpish
+ install -Dm755 "$pkgdir"/${_contribdest}/util/stumpish/stumpish \
+ "$pkgdir"/usr/bin/stumpish
- rm -rf ${pkgdir}${_contribdest}/util/stumpish
+ rm -rf "$pkgdir"/${_contribdest}/util/stumpish
# emacs mode
- cd ${pkgdir}/${_contribdest}/util/swm-emacs
- install -d ${pkgdir}/usr/share/emacs/site-lisp/
+ cd "$pkgdir"/${_contribdest}/util/swm-emacs
+ install -d "$pkgdir"/usr/share/emacs/site-lisp/
for _i in *.el
do
- install -Dm644 ${_i} ${pkgdir}/usr/share/emacs/site-lisp/${_i}
+ install -Dm644 ${_i} "$pkgdir"/usr/share/emacs/site-lisp/${_i}
done
+ install -Dm644 "$srcdir"/stumpwm.desktop "$pkgdir"/usr/share/xsessions/stumpwm.desktop
}
diff --git a/stumpwm.desktop b/stumpwm.desktop
new file mode 100644
index 000000000000..f5d9dd6ec386
--- /dev/null
+++ b/stumpwm.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=StumpWM
+Encoding=UTF-8
+Type=XSession
+Exec=stumpwm
+TryExec=stumpwm
+Name=StumpWM
+Comment=Stump window manager \ No newline at end of file