summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94d4a2a504c4cd983fb50e319d9dd68107b88d9f (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
# Contributor: Krystian ChachuĊ‚a <krystiancha@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=dex-git
pkgver=0.8.0.r38.gd68c5d0
pkgrel=1
epoch=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 describe | cut -c2- | sed 's+-+.r+'| tr - .)
}

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