summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1c49aed97b1134c0d7ec7e14c5a8d1f5402f79d (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
_pkgbase=netevent
pkgname=netevent-git
pkgver=c0cb868
pkgrel=1
pkgdesc="Event device viewing/cloning utility"
url="https://github.com/Blub/netevent"
arch=('i686' 'x86_64')
license=('GPL')
depends=()
makedepends=('python-docutils')
source=("git+https://github.com/Blub/netevent.git")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/netevent"
  git describe --always
}

prepare() {
  cd "$srcdir/$_pkgbase"
  CXX=g++ ./configure --prefix=/usr
}

build() {
  cd "$srcdir/$_pkgbase"
  sed -i 's/-Werror//' ./Makefile
  make
}

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