summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d87fee5db728de6ac36cd252ff4f270e70c8f4c9 (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
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: <sulamiification at gmail dot com>, feel free to contact me there
# Contributor: Hugo Osvaldo Barrera <hugo@barrera.io>

pkgname=frankenwm-git
_gitname="FrankenWM"
pkgver=1.0.21
pkgrel=1
pkgdesc="Fast dynamic tiling window manager based on monsterwm-xcb"
url="https://github.com/sulami/FrankenWM"
arch=('i686' 'x86_64')
license=('custom:MIT/X')
depends=('xcb-util-wm' 'xcb-util-keysyms')
makedepends=('git')
source=("git+https://github.com/sulami/FrankenWM.git")
md5sums=("SKIP")

prepare() {
  cd "$srcdir/$_gitname"

  if [ -e $startdir/config.h ]; then
    msg "using custom config.h"
    cp ${startdir}/config.h .
  else
    msg "using default config.h"
  fi
}

build() {
  cd "$srcdir/$_gitname"
  make
}

package() {
  cd "$srcdir/$_gitname"
  make PREFIX=/usr DESTDIR="${pkgdir}" install

  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}