summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 613969d940ea3f6a6b862e100db02f1966c3db95 (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
41
42
# Maintainer: Brian Bidulock <bidulock@openss7.org>

pkgname=xdg-launch-git
pkgver=0.8.r0.ga7edfd0
pkgrel=1
pkgdesc="A command line XDG compliant launcher"
arch=('i686' 'x86_64')
url="http://github.com/bbidulock/xdg-launch"
license=('GPL')
groups=('xde')
provides=('xdg-launch')
conflicts=('xdg-launch')
depends=('desktop-file-utils' 'libxrandr' 'libxinerama' 'libnotify')
optdepends=('dmenu: to use dmenu_launch script')
makedepends=('git' 'pkgconfig')
install="${pkgname}.install"
source=("${pkgname}::git+https://github.com/bbidulock/xdg-launch")
md5sums=('SKIP')

pkgver() {
  cd ${pkgname}
  git describe --long --tags | sed -r 's,([^-]*-g),r\1,;s,-,.,g'
}

prepare() {
  cd ${pkgname}
  ./autogen.sh
}

build() {
  cd ${pkgname}
  ./configure --prefix=/usr --sysconfdir=/etc \
              --disable-status-icon
  make V=0
}

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

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