summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2392eea42dec60701f0defc8a02027700a1dcec6 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
# $Id$
# Maintainer: martadinata666 <martadinata666@gmail.com>
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: nesl247 <nesl247@gmail.com>

_upstream="compiz-plugins-experimental"

pkgname=compiz-fusion-plugins-experimental-git
pkgver=0.8.14.r29.ge18bf77
pkgrel=1
pkgdesc="Compiz Fusion Experimental plugins"
arch=('i686' 'x86_64')
url="https://gitlab.com/compiz/${_upstream}"
license=('GPL')
depends=('compiz-core-git' 'compiz-bcop-git' 'compiz-fusion-plugins-extra-git' 'libnotify')
makedepends=('intltool' 'pkg-config')
groups=('compiz-fusion' 'compiz-fusion-gtk' 'compiz-fusion-kde')
conflicts=('compiz-fusion-plugins-experimental')
provides=('compiz-fusion-plugins-experimental')
options=('!libtool')
source=(
	"git+https://gitlab.com/compiz/${_upstream}.git"
)

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

# Comment out until we have a tagged release
#pkgver() {
#  cd "${srcdir}/plugins-experimental"
#  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
#}

build() {
  cd "${srcdir}/${_upstream}"
  NOCONFIGURE=1 ./autogen.sh
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
    cd "${srcdir}/${_upstream}"
    DESTDIR="${pkgdir}" make install
}

sha1sums=('SKIP')