summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96ba1bac70c8ebb6b4fd020a211a3add1aeef846 (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
# Maintainer: Cody P Schafer <archlinux at codyps.com>
_bpn=dbus-test-runner
pkgname=${_bpn}-bzr
pkgver=r100
pkgrel=1
pkgdesc="A small little utility to run a couple of executables under a new DBus session for testing"
arch=(x86_64 )
url="https://launchpad.net/dbus-test-runner"
license=('GPLv3')
groups=()
depends=()
makedepends=(bzr gnome-common)
provides=(${_bpn})
conflicts=(${_bpn})
replaces=()
backup=()
options=(!emptydirs)
install=
source=($pkgname::bzr+lp:dbus-test-runner )
md5sums=(SKIP)

pkgver() {
  cd "$pkgname"
  printf "r%s" "$(bzr revno)"
}

build() {
  cd "$pkgname"
  export CFLAGS="${CFLAGS:-} -Wno-error=deprecated -Wno-error=deprecated-declarations"
  ./autogen.sh
  make
}

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

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