diff options
Diffstat (limited to 'main/jwm/APKBUILD')
-rw-r--r-- | main/jwm/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/main/jwm/APKBUILD b/main/jwm/APKBUILD new file mode 100644 index 0000000000..35c5bf4c6b --- /dev/null +++ b/main/jwm/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Jeff Pohlmeyer <yetanothergeek@gmail.com> +# Maintainer: Jeff Pohlmeyer <yetanothergeek@gmail.com> + +pkgname=jwm +pkgver=501 +pkgrel=2 +pkgdesc="A lightweight window manager for the X11 Window System" +url="http://joewing.net/programs/jwm/" +arch="all" +license="GPL" +depends= +depends_dev="libx11-dev libxext-dev libxft-dev libxmu-dev libxinerama-dev + libxpm-dev libxrender-dev jpeg-dev libpng-dev" +makedepends="$depends_dev" +install= +subpackages="$pkgname-doc" +source="http://joewing.net/programs/jwm/snapshots/$pkgname-$pkgver.tar.bz2" + + +_builddir="$srcdir"/$pkgname-$pkgver + + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-confirm \ + --enable-icons \ + --enable-png \ + --enable-jpeg \ + --enable-xpm \ + --enable-xft \ + --enable-xrender \ + --enable-shape \ + --enable-xmu \ + --enable-xinerama \ + --disable-fribidi \ + --disable-debug || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make \ + BINDIR="$pkgdir/usr/bin" \ + MANDIR="$pkgdir/usr/share/man" \ + SYSCONF="$pkgdir/etc" install || return 1 +} + +md5sums="19f05789750674b10007c58264e6c688 jwm-501.tar.bz2" |