summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a60176c28a3d4b3437a8d4d9f678d10656057b75 (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
# Maintainer: Jesus Franco <jesusfranco at gmail dot com>

_pkgname="trimdown"
pkgname="${_pkgname}-git"
_gitname=trimdown
pkgver=2018.04.04
pkgrel=1
pkgdesc="A simple, feature rich, writing app for writing Novels, Short stories, Scripts and Articls."
arch=('i686' 'x86_64')
url="https://github.com/artemanufrij/${_pkgname}"
license=('GPL3')

depends=('glib2' 'gtk3' 'hicolor-icon-theme' 'vala' 'granite' 'libpurple' 'gtksourceview3' 'libdbusmenu-gtk3')
optdepends=('elementary-icon-theme')
makedepends=('git' 'desktop-file-utils' 'hicolor-icon-theme' 'intltool' 'yelp-tools' 'gnome-common' 'gobject-introspection' 'meson' 'ninja')
options=('!libtool')
conflicts=('trimdown' 'trimdown-bzr')
provides=('trimdown')
source=("git+https://github.com/artemanufrij/trimdown.git")
md5sums=('SKIP')

build() {
	cd "${_pkgname}"
	meson build --prefix=/usr
	cd build
	ninja
}

package() {
	cd "${_gitname}/build"
	DESTDIR="${pkgdir}" ninja install
}