summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aedd6a2fe198f87cee946e6735f87d9461fe12df (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
40
# Maintainer: Brian Bidulock <bidulock@Openss7.org>
# Contributor: Sean Pringle <sean.pringle@gmail.com>
# Contributor: SanskritFritz (gmail)

pkgname=goomwwm-git
_pkgname=goomwwm
pkgver=1.0.0.73.g25c9a12
pkgrel=2
epoch=1
pkgdesc="Get out of my way, Window Manager!"
arch=('i686' 'x86_64')
url="https://github.com/seanpringle/goomwwm"
license=('MIT')
depends=('libxft' 'libxinerama')
optdepends=('dmenu')
makedepends=('git')
conflicts=($_pkgname)
provides=($_pkgname)
source=("$pkgname::git+https://github.com/seanpringle/goomwwm.git")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --tags --long|sed 's,[-_],.,g'
}

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

package() {
  cd "$srcdir/$pkgname"
  install -Dm 755 $_pkgname "$pkgdir/usr/bin/$_pkgname"
  install -Dm 644 "$_pkgname.desktop" "$pkgdir/usr/share/xsessions/$_pkgname.desktop"
  gzip -c "$_pkgname.1" > "$_pkgname.1.gz"
  install -Dm644 "$_pkgname.1.gz" "$pkgdir/usr/share/man/man1/$_pkgname.1.gz"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}