summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFabioLolix2019-02-09 22:21:52 +0100
committerFabioLolix2019-02-09 22:21:52 +0100
commita7ecb364a056a14cfc26a5b50ea699621acdb367 (patch)
treece2dc54b9f0068f51734b5fc6519a819a48a1d5a /PKGBUILD
parent564141d5e7c0e67f2daf761fc26861521d7c3942 (diff)
downloadaur-ciano-git.tar.gz
Revision, seems to fix https://github.com/robertsanseries/ciano/issues/73
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD43
1 files changed, 21 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8a7b623e789..34e735392bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,36 @@
-# Maintainer: Pico <founderofjp@gmail.com>
+# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org>
+# Contributer: 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
+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://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')
+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}"
- echo $(git describe --tags | sed s'/v\.//;s/-/./g')
+ cd "${pkgname%-git}"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "${_pkgname}"
- arch-meson build
- ninja -C build
+ cd "${pkgname%-git}"
+ meson . build --prefix=/usr
+ ninja -C build
}
package() {
- cd "${_pkgname}"
- DESTDIR="${pkgdir}/" ninja -C build install
+ cd "${pkgname%-git}"
+ DESTDIR="${pkgdir}/" ninja -C build install
+ ln -s com.github.robertsanseries.ciano "$pkgdir/usr/bin/ciano"
}