wmii/PKGBUILD

37 lines
990 B
Bash
Raw Normal View History

2010-05-22 00:27:55 +04:00
pkgname="wmii-hg"
2010-05-27 11:58:02 +04:00
pkgver=2647
2010-05-22 00:27:55 +04:00
pkgrel=1
pkgdesc="The latest hg pull of wmii, a lightweight, dynamic window manager for X11"
url="http://wmii.suckless.org"
license=("MIT")
arch=("i686" "x86_64")
depends=("libx11" "libxinerama" "libxrandr")
2010-05-22 00:27:55 +04:00
makedepends=("mercurial")
optdepends=("plan9port: for use of the alternative plan9port wmiirc" \
"python: for use of the alternative Python wmiirc" \
"ruby-rumai: for use of the alternative Ruby wmiirc" \
"libxft: for anti-aliased font support")
2010-05-22 00:27:55 +04:00
provides=("wmii")
conflicts=("wmii")
source=()
FORCE_VER=$(hg tip --template {rev})
#_hgroot="http://hg.suckless.org/"
#_hgrepo="wmii"
build()
{
cd $startdir
flags=(PREFIX=/usr \
ETC=/etc \
DESTDIR="$startdir/pkg")
make "${flags[@]}" || return 1
make "${flags[@]}" install || return 1
2010-05-27 11:58:02 +04:00
install -m644 -D ./debian/file/wmii.desktop $startdir/pkg/etc/X11/sessions/wmii.desktop
2010-05-22 00:27:55 +04:00
install -m644 -D ./LICENSE $startdir/pkg/usr/share/licenses/wmii/LICENSE
}