summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6979a4eb41a243fab7e28e62f043eeba3848b3cb (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
# Contributor: Ian Brunelli (brunelli) <ianbrunelli@gmail.com>

pkgname=gnome-news-git
_gitname=gnome-news
pkgver=r309.ab62e5299f52
pkgrel=1
pkgdesc='A GNOME 3 Feed Reader'
arch=('i686' 'x86_64')
license=('GPL3')
url="https://git.gnome.org/browse/${_gitname}"
depends=('gtk3' 'python' 'tracker>=1.5.1')
makedepends=('appstream-glib'
             'autoconf'
             'autoconf-archive'
             'automake'
             'git'
             'intltool')
options=('!emptydirs')
install=gnome-news.install
source=("git+https://gitlab.gnome.org/GNOME/${_gitname}.git")
sha256sums=('SKIP')
conflicts=('gnome-news')
provides=("gnome-news=$pkgver")

pkgver() {
	cd "${_gitname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "${_gitname}"
	./autogen.sh --prefix=/usr --disable-schemas-compile
	make
}

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