summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a7b623e78914d291868c6f32c6c4a81f81d9b80 (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
# Maintainer: Pico <founderofjp@gmail.com>
# Contributer: Jesus Franco <jesusfranco at gmail dot com>

_pkgname="ciano"
pkgname="${_pkgname}-git"
pkgver=0.1.9.24.g1b907dc
pkgrel=1
pkgdesc="A simple multimedia file converter for elementary OS"
arch=('i686' 'x86_64')
url="https://github.com/robertsanseries/${_pkgname}"
license=('GPL3')

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

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

build() {
	cd "${_pkgname}"
	arch-meson build
	ninja -C build
}

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