summaryrefslogtreecommitdiff
path: root/manualPorts/fluxbox/Pkgfile
blob: 00a3f8fe2bb7dcc6f3216e1d8ea615448c9febbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Description: A blackbox based window manager
# URL:         http://fluxbox.sf.net
# Maintainer:  Erich Eckner, crux at eckner dot net
# Contributor: Lin SiFuh, #crux at irc dot libera dot chat
# Depends on:  xorg imlib2

name=fluxbox
version=1.3.7
release=1
source=(http://download.sourceforge.net/${name}/${name}-${version}.tar.bz2
        fluxbox-1.3.7-c++17.patch)

build() {

  cd "${name}"-"${version}"

  patch -p1 -i ../fluxbox-1.3.7-c++17.patch

  ./configure --prefix=/usr \
              --disable-nls

   sed -i '/nls\/[a-z][a-z]_[A-Z][A-Z]/d' Makefile

   make && make DESTDIR="${PKG}" install

   rm -rf "${PKG}"/usr/doc

}