summaryrefslogtreecommitdiffstats
path: root/i3-git
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-08-22 19:33:54 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-08-22 19:34:46 +0200
commite3c21a8456cf86bf955262b71af2bfe4afd25ccc (patch)
treebe697394b748089d193ba3d78a56a8c0efc96345 /i3-git
parent14264bcaec8be85c4c7c6440bfa6ae3d3c449d8c (diff)
downloadaur-packages-e3c21a8456cf86bf955262b71af2bfe4afd25ccc.tar.gz
aur-packages-e3c21a8456cf86bf955262b71af2bfe4afd25ccc.tar.xz
mass commit everything
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'i3-git')
-rw-r--r--i3-git/PKGBUILD70
1 files changed, 70 insertions, 0 deletions
diff --git a/i3-git/PKGBUILD b/i3-git/PKGBUILD
new file mode 100644
index 0000000..3724f7d
--- /dev/null
+++ b/i3-git/PKGBUILD
@@ -0,0 +1,70 @@
+# Maintainer: Thorsten Toepper <atsutane at freethoughts dot de>
+
+pkgname=i3-git
+pkgver=20100819
+pkgrel=1
+pkgdesc="An improved dynamic tiling window manager"
+arch=('i686' 'x86_64')
+url="http://i3.zekjur.net/"
+license=('BSD')
+provides=('i3-wm')
+conflicts=('i3-wm')
+depends=('xcb-util' 'libx11' 'libev' 'yajl')
+makedepends=('git' 'asciidoc' 'docbook-xsl' 'pkgconfig'
+ 'bison' 'flex')
+optdepends=('rxvt-unicode: The terminal emulator used in the default config.'
+ 'dmenu: As menu.'
+ 'i3lock: For locking your screen.'
+ 'i3status: To display systeminformation with a bar.')
+options=('docs' '!strip')
+
+_gitroot="git://code.stapelberg.de/i3"
+_gitname="i3"
+
+build() {
+ cd "$srcdir"
+ msg "Connecting to GIT server...."
+
+ if [ -d $_gitname ] ; then
+ cd $_gitname && git pull origin
+ msg "The local files are updated."
+ else
+ git clone $_gitroot
+
+ cd $_gitname
+ git branch -f next origin/next
+ git checkout next
+ fi
+
+ msg "GIT checkout done or server timeout"
+ msg "Starting make..."
+
+ rm -rf "$srcdir/$_gitname-build"
+ cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname-build"
+
+ make || return 1
+ make -C man || return 1
+}
+
+package() {
+ cd "$srcdir/$_gitname-build"
+ make DESTDIR="$pkgdir/" install || return 1
+
+ install -Dm644 man/i3.1 \
+ ${pkgdir}/usr/share/man/man1/i3.1 || return 1
+ install -Dm644 man/i3-msg.1 \
+ ${pkgdir}/usr/share/man/man1/i3-msg.1 || return 1
+ install -Dm644 man/i3-input.1 \
+ ${pkgdir}/usr/share/man/man1/i3-input.1 || return 1
+
+ install -Dm644 LICENSE \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
+
+ rm ${pkgdir}/usr/bin/i3-wsbar || return 1
+
+ make clean
+}
+
+# vim:set ts=2 sw=2 et:
+