[arch-commits] Commit in bspwm/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Jan 18 23:28:11 UTC 2015
Date: Monday, January 19, 2015 @ 00:28:11
Author: arodseth
Revision: 126190
added .desktop entry
Modified:
bspwm/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-18 22:39:06 UTC (rev 126189)
+++ PKGBUILD 2015-01-18 23:28:11 UTC (rev 126190)
@@ -4,28 +4,36 @@
pkgname=bspwm
pkgver=0.8.9
-pkgrel=4
+pkgrel=5
pkgdesc='Tiling window manager based on binary space partitioning'
arch=('x86_64' 'i686')
url='https://github.com/baskerville/bspwm'
license=('custom:BSD')
depends=('libxcb' 'xcb-util' 'xcb-util-wm')
+makedepends=('gendesk' 'git')
optdepends=('sxhkd: to define keyboard and pointer bindings'
'xtitle-git: for the example panel'
- 'sutils-git: for the example panel'
- 'bar-aint-recursive: for the example panel'
- 'terminus-font: for the example panel')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/baskerville/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('750c76132914661d8d5edf7809e9b601977215d31e747dd780c60fd562913d55')
+ 'sutils-git: for the example panel'
+ 'bar-aint-recursive: for the example panel'
+ 'terminus-font: for the example panel')
+source=("git://github.com/baskerville/$pkgname#tag=$pkgver")
+md5sums=('SKIP')
+prepare() {
+ gendesk -f -n -wm --pkgname "$pkgname" --exec "$pkgname"
+}
+
build() {
- make -C "$pkgname-$pkgver" PREFIX=/usr
+ make -C "$pkgname" PREFIX=/usr
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
+
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "$srcdir/$pkgname.desktop" \
+ "$pkgdir/usr/share/xsessions/$pkgname.desktop"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list