summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34e735392bb12615013beb9f89cdabd2bcb58a9a (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
# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org>
# Contributer: Pico <founderofjp@gmail.com>
# Contributer: Jesus Franco <jesusfranco at gmail dot com>

pkgname=ciano-git
pkgver=0.2.1.r1.gd514cda
pkgrel=2
pkgdesc="A simple multimedia file converter for elementary OS"
arch=(i686 x86_64)
url="https://robertsanseries.github.io/ciano/"
license=(GPL3)
depends=(libgranite.so gtk3 ffmpeg imagemagick)
optdepends=(elementary-icon-theme)
makedepends=(git vala meson ninja)
conflicts=(ciano)
provides=(ciano)
source=("git+https://github.com/robertsanseries/ciano.git")
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${pkgname%-git}"
  meson . build --prefix=/usr
  ninja -C build
}

package() {
  cd "${pkgname%-git}"
  DESTDIR="${pkgdir}/" ninja -C build install
  ln -s com.github.robertsanseries.ciano "$pkgdir/usr/bin/ciano"
}