summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b69933cfc2f02297c7a41961e0d843d9698c958 (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
# Maintainer: Florian Dejonckheere <florian@floriandejonckheere.be>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: nesl247 <nesl247@gmail.com>

_upstream="compiz-bcop"

pkgname=compiz-bcop-git
pkgver=0.8.14.r1.g1eeaf40
pkgrel=1
pkgdesc="Compiz option code generator"
arch=('any')
url="https://gitlab.com/compiz/${_upstream}"
license=('GPL')
depends=("compiz-core-git" 'libxslt')
makedepends=('intltool')
conflicts=('compiz-bcop-dev' 'compiz-bcop')
provides=('compiz-bcop')
sha1sums=('SKIP')
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'
}

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

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