summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51c4e7be724f8b22e61e52c493d24df501544fb7 (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
_pkgname=coretoppings
pkgname=${_pkgname}-git
pkgver=2.8.0.r1.126a8cf
pkgrel=1
pkgdesc="Additional features, plugins, widgets etc for CuboCore Application Suite."
arch=('any')
url="https://gitlab.com/cubocore"
license=('GPL3')
depends=('libcprime' 'qt5-x11extras' 'qt5-connectivity' 'qt5-location' 'libxcomposite' 'libpulse')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
groups=('coreapps-git')
source=("git+https://gitlab.com/cubocore/${_pkgname}.git")
md5sums=('SKIP')

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

build() {
	cd "$srcdir/${_pkgname}"
	qmake-qt5 ${_pkgname}.pro
	make
}

package() {
	cd "$srcdir/${_pkgname}"
	make INSTALL_ROOT=${pkgdir} install
}