summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 632248798aba046dd433137b066b059771e788a0 (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-git
pkgver=0.8.14.r62.gfdab018
pkgrel=1
pkgdesc="Compizconfig Settings Manager in Python (GTK+2 version)"
arch=('any')
url="https://gitlab.com/compiz/${_upstream}"
license=('GPL')
depends=("compizconfig-python-git" 'python-gobject' 'python-cairo' 'hicolor-icon-theme' 'gtk2')
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=2.0 --root="${pkgdir}"
}