diff options
Diffstat (limited to 'i3/PKGBUILD')
-rw-r--r-- | i3/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/i3/PKGBUILD b/i3/PKGBUILD new file mode 100644 index 0000000..ef2c13e --- /dev/null +++ b/i3/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Thorsten Toepper <atsutane at freethoughts dot de> + +pkgname=i3 +pkgver=3.d_bf1 +_pkgver=3.d-bf1 +pkgrel=2 +pkgdesc="An improved dynamic tiling window manager" +arch=('i686' 'x86_64') +url="http://i3.zekjur.net/" +license=('BSD') +depends=('libx11' 'xcb-util' 'libev') +makedepends=('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') +source=(http://i3.zekjur.net/downloads/$pkgname-$_pkgver.tar.bz2) +md5sums=('f2271064640d67c8a618c8c79451da75') + +build() { + cd "$srcdir/$pkgname-$_pkgver" + + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$_pkgver" + make DESTDIR="$pkgdir/" install || return 1 + + install -Dm644 man/i3.man \ + ${pkgdir}/usr/share/man/man1/i3.1 || return 1 + install -Dm644 man/i3-msg.man \ + ${pkgdir}/usr/share/man/man1/i3-msg.1 || return 1 + install -Dm644 man/i3-input.man \ + ${pkgdir}/usr/share/man/man1/i3-input.1 || return 1 + install -Dm644 LICENSE \ + ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 + + make clean +} + +# vim:set ts=2 sw=2 et: + |