2010-05-22 00:27:55 +04:00
|
|
|
|
2010-06-23 18:55:55 +04:00
|
|
|
pkgname=wmii-hg
|
2010-06-24 18:39:42 +04:00
|
|
|
pkgver=2740
|
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"
|
2010-06-23 18:55:55 +04:00
|
|
|
license=(MIT)
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
depends=(libx11 libxinerama libxrandr)
|
2010-06-24 18:39:42 +04:00
|
|
|
makedepends=(mercurial "libixp-hg>="$(sed -rn <mk/wmii.mk 's/.*IXP_NEEDAPI=([0-9]+).*/\1/p'))
|
2010-05-22 00:27:55 +04:00
|
|
|
optdepends=("plan9port: for use of the alternative plan9port wmiirc" \
|
|
|
|
"python: for use of the alternative Python wmiirc" \
|
2010-05-23 02:58:37 +04:00
|
|
|
"ruby-rumai: for use of the alternative Ruby wmiirc" \
|
|
|
|
"libxft: for anti-aliased font support")
|
2010-06-23 18:55:55 +04:00
|
|
|
provides=(wmii)
|
|
|
|
conflicts=(wmii)
|
2010-05-22 00:27:55 +04:00
|
|
|
source=()
|
|
|
|
|
2010-06-23 18:55:55 +04:00
|
|
|
FORCE_VER=$(hg log -r . --template {rev})
|
2010-05-22 00:27:55 +04:00
|
|
|
|
|
|
|
build()
|
|
|
|
{
|
|
|
|
cd $startdir
|
|
|
|
flags=(PREFIX=/usr \
|
|
|
|
ETC=/etc \
|
2010-06-23 18:55:55 +04:00
|
|
|
DESTDIR="$pkgdir")
|
2010-05-22 00:27:55 +04:00
|
|
|
|
|
|
|
make "${flags[@]}" || return 1
|
|
|
|
make "${flags[@]}" install || return 1
|
|
|
|
|
2010-06-23 18:55:55 +04:00
|
|
|
install -m644 -D ./debian/file/wmii.desktop "$pkgdir/etc/X11/sessions/wmii.desktop"
|
|
|
|
install -m644 -D ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2010-05-22 00:27:55 +04:00
|
|
|
}
|
|
|
|
|