diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 20 insertions, 20 deletions
@@ -1,20 +1,18 @@ pkgbase = mcwm-git pkgdesc = A minimalist floating window manager written on top of the XCB - pkgver = 20130209.2.r11.gee7d9df - pkgrel = 3 - url = https://github.com/bbidulock/mcwm + pkgver = 20130209.2.5 + pkgrel = 1 + url = http://hack.org/mc/hacks/mcwm/ arch = i686 arch = x86_64 license = ISC makedepends = git + depends = xcb-util depends = xcb-util-wm depends = xcb-util-keysyms - depends = bash provides = mcwm conflicts = mcwm - conflicts = 2bwm - conflicts = 2bwm-git - source = mcwm-git::git+https://github.com/bbidulock/mcwm.git + source = mcwm-git::git://hack.org/mcwm source = mcwm.desktop md5sums = SKIP md5sums = 8daed020f1a9df4b774207b30d954c53 @@ -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" } |