summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c4310400858157271c38440aa00da8ab057778a (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: OS Hazard <oshazard+aur@gmail.com>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: nesl247 <nesl247@gmail.com>

_upstream="ccsm"

pkgname=ccsm-gtk3-git
pkgver=0.8.14.r62.gfdab018
pkgrel=1
pkgdesc="Compizconfig Settings Manager in Python (GTK+3 version)"
arch=('any')
url="https://gitlab.com/compiz/${_upstream}"
license=('GPL')
depends=("compizconfig-python-git" 'python-gobject' 'python-cairo' 'hicolor-icon-theme' 'gtk3')
makedepends=('intltool')
optdepends=('compiz-gtk-standalone: option 1' 'compiz-core: option 2')
groups=('compiz-fusion' 'compiz-fusion-gtk' 'compiz-fusion-kde')
conflicts=('ccsm')
provides=("ccsm=$pkgver")
source=(
	"git+https://gitlab.com/compiz/${_upstream}.git"
)
sha1sums=('SKIP')

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

package() {
  cd "${srcdir}/${_upstream}"
  python ./setup.py install --prefix=/usr --with-gtk=3.0 --root="${pkgdir}"
}