summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4452a69ef3d23d44a892165c59edb32c26c15fee (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
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=gnome-system-log
pkgver=3.9.90+160+g4b07190
pkgrel=2
pkgdesc="View your system logs"
arch=(x86_64)
url="https://git.gnome.org/browse/gnome-system-log"
license=(GPL2)
depends=(dconf gtk3)
makedepends=(intltool itstool docbook-xsl git gnome-common)
_commit=4b071909a0ca38a73a9cc5b287ffc2b0a744566b  # master
source=("git+https://git.gnome.org/browse/gnome-system-log#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/-/+/g'
}

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

build() {
  cd $pkgname
  ./configure --prefix=/usr --disable-schemas-compile
  make
}

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

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