summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 230d144c6d554f2da5a11d66923400b408ff64c4 (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
# Maintainer: Frederic Bezies <fredbezies at gmail dot com0
# Contributor : Ivo Nunes <ivoavnunes at gmail dot com>
_pkgname="birdie"
pkgname="${_pkgname}-git"
pkgver=1.1+git.106.gba4adb3
pkgrel=1
pkgdesc="Twitter client for Linux"
arch=('i686' 'x86_64')
url="https://github.com/ivonunes/birdie"
license=('GPL3')
depends=('glib2' 'gtk3' 'hicolor-icon-theme' 'vala' 'granite' 'libpurple' 'gtksourceview3' 'libdbusmenu-gtk3' 'webkit2gtk') 
makedepends=('git' 'desktop-file-utils' 'hicolor-icon-theme' 'intltool' 'yelp-tools' 'gnome-common' 'gobject-introspection' 'meson' 'ninja')
options=('!libtool')
conflicts=('birdie' 'birdie-bzr')
provides=('birdie')
source=("${_pkgname}::git+https://github.com/ivonunes/birdie.git")
md5sums=('SKIP')

pkgver() {
	cd "${_pkgname}"
        echo $(git describe --tags | sed s'/v\.//;s/-/./g')
}

build() {
	cd "${_pkgname}"
	arch-meson build \
    -Db_pie=false
	ninja -C build
}

package() {
	cd "${_pkgname}"
	DESTDIR="${pkgdir}/" ninja -C build install
}