summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrian Bidulock2013-12-30 09:08:35 -0700
committerBrian Bidulock2015-06-10 07:12:03 -0600
commit256d1cad91ae9e47c0a75f031efba6127ea3f93a (patch)
tree98b066fcd2a37614621d94f466dfc382dc642dc3 /PKGBUILD
parent58efae194c0b9497bd3be940769b44c2b3f75479 (diff)
downloadaur-256d1cad91ae9e47c0a75f031efba6127ea3f93a.tar.gz
version 20130209.2.5-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 090a8cb401d..eedcf6cc111 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,38 @@
-# Maintainer: Brian Bidulock <bidulock@openss7.org>
+# Maintainer: Patrick Louis <patrick at unixhub dot net>
+# Contributor: Brian Bidulock <bidulock@openss7.org>
pkgname=mcwm-git
-pkgver=20130209.2.r11.gee7d9df
-pkgrel=3
+pkgver=20130209.2.5
+pkgrel=1
pkgdesc="A minimalist floating window manager written on top of the XCB"
arch=('i686' 'x86_64')
-#url="http://hack.org/mc/hacks/mcwm/"
-url="https://github.com/bbidulock/mcwm"
+url="http://hack.org/mc/hacks/mcwm/"
license=('ISC')
-depends=('xcb-util-wm' 'xcb-util-keysyms' 'bash')
+depends=('xcb-util' 'xcb-util-wm' 'xcb-util-keysyms')
makedepends=('git')
provides=('mcwm')
-conflicts=('mcwm' '2bwm' '2bwm-git') # because of /usr/bin/hidden program
-source=("$pkgname::git+https://github.com/bbidulock/mcwm.git" "mcwm.desktop")
+conflicts=('mcwm')
+source=("$pkgname::git://hack.org/mcwm" "mcwm.desktop")
md5sums=('SKIP'
'8daed020f1a9df4b774207b30d954c53')
pkgver() {
cd $pkgname
- git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+ git describe --tags | sed 's,[-_],.,g;s,\.g.*$,,'
}
prepare() {
cd $pkgname
- ./autogen.sh
+ sed -i 's,/man/man1,/share/man/man1,' Makefile
}
build() {
cd $pkgname
- ./configure --prefix=/usr --libexecdir=/usr/lib
- make V=0
+ LDFLAGS+=" -Wl,--no-as-needed"
+ make
}
package() {
cd $pkgname
- make DESTDIR="$pkgdir" install
+ install -d "$pkgdir/usr/bin"
+ install -d "$pkgdir/usr/share/man/man1"
+ make "PREFIX=$pkgdir/usr" install
install -Dm644 "$srcdir/mcwm.desktop" "$pkgdir/usr/share/xsessions/mcwm.desktop"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}