summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b029a5764e76e6fab54f9653e9b63fe500029582 (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
#Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgdesc="XDG application menu with full support for FVWM"
pkgname=fvwm-xdg-menu-git
_pkgname=fvwm-xdg-menu
pkgver=r51.g4b49473
pkgrel=1
arch=(any)
license=(GPL2)
url="http://github.com/domichel/$_pkgname"
groups=('xde')
depends=('gtk-update-icon-cache')
conflicts=($_pkgname)
provides=($_pkgname)
source=("$pkgname::git://github.com/domichel/$_pkgname.git")
md5sums=('SKIP')
makedepends=('git')
install=$_pkgname.install

pkgver() {
  cd $pkgname
  printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd $pkgname
  make
}

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

# vim: et sw=2: