[hackers] [wmii] Add Arch PKGBUILD. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sat, 22 May 2010 02:52:30 +0000 (UTC)

changeset: 2617:11658ff299f9
user: Kris Maglione <kris_AT_suckless.org>
date: Fri May 21 16:27:55 2010 -0400
files: PKGBUILD
description:
Add Arch PKGBUILD.

diff -r dfe9ea5972ee -r 11658ff299f9 PKGBUILD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/PKGBUILD Fri May 21 16:27:55 2010 -0400
@@ -0,0 +1,38 @@
+
+pkgname="wmii-hg"
+pkgver=2617
+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" "libxft")
+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")
+provides=("wmii")
+conflicts=("wmii")
+source=()
+options=(!makeflags)
+
+test -d src || mkdir src
+ln -snf .. src/wmii
+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
+
+ mkdir -p $startdir/pkg/etc/X11/sessions
+ install -m644 -D ./LICENSE $startdir/pkg/usr/share/licenses/wmii/LICENSE
+}
+
Received on Sat May 22 2010 - 02:52:30 UTC

This archive was generated by hypermail 2.2.0 : Sat May 22 2010 - 03:00:11 UTC