summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8b4506b6a62918cc6b507c53a60a47a0bc68bf2 (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
# Maintainer: Krystian ChachuĊ‚a <krystiancha@gmail.com>

pkgname=dex-git
pkgver=83.864be05
pkgrel=1

pkgdesc='Program to generate and execute DesktopEntry files of type Application'
url='https://github.com/jceb/dex'
arch=('any')
license=('GPL2')

depends=('python')
makedepends=('git' 'python-sphinx')

provides=('dex')
conflicts=('dex')

source=("git+https://github.com/jceb/dex.git")

md5sums=('SKIP')

pkgver() {
  cd "$srcdir/dex"
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

package() {
  cd dex
  make install PREFIX=/usr MANPREFIX=/usr/share/man DESTDIR="$pkgdir"
  rm "$pkgdir/usr/share/doc/dex/LICENSE"
}

# vim:set ts=2 sw=2 et: