blob: d907280f95cf168122067e67d2c65b4913eddfd5 (
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 com>
# Contributor: Jente Hidskes <hjdskes@gmail.com>
pkgname=gcolor3-git
_gitname=gcolor3
pkgver=2.4.0.r13.gf6f8482
pkgrel=1
epoch=1
pkgdesc="A simple color selection dialog in GTK3. Git version."
arch=('i686' 'x86_64')
url="http://hjdskes.nl/projects/gcolor3/"
license=('GPL2')
depends=('gtk3' 'hicolor-icon-theme' 'libportal')
makedepends=('git' 'meson' 'gnome-common')
conflicts=('gcolor3')
source=('git+https://gitlab.gnome.org/World/gcolor3.git')
sha256sums=('SKIP')
pkgver() {
cd $_gitname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48
}
build() {
cd $_gitname/
meson build --prefix=/usr
ninja -C build
}
package() {
cd $_gitname/
DESTDIR="$pkgdir" ninja -C build install
}
|