blob: 4d124678436c8e74705b674aec471a575c6587bc (
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
|
# Maintainer: Alvaro F. GarcĂa <alvarofernandogarcia@gmail.com>
_pkgname=libqmlbind
pkgname=$_pkgname-git
pkgver=v0.2.0.r22.g7ca90d1
pkgrel=1
pkgdesc="libqmlbind is a C library for creating QML bindings."
arch=('i686' 'x86_64')
url="https://github.com/seanchas116/libqmlbind"
license=('GPL')
depends=('qt5-base' 'qt5-declarative')
makedepends=('git')
conflicts=('libqmlbind')
options=('!emptydirs')
source=("$_pkgname::git+https://github.com/seanchas116/libqmlbind#branch=master")
sha256sums=('SKIP')
prepare() {
cd "$srcdir/$_pkgname"
}
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long | sed 's/-/.r/;s/-/./'
}
build() {
cd "$srcdir/$_pkgname/qmlbind"
qmake-qt5 -r INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/$_pkgname/qmlbind"
make INSTALL_ROOT="$pkgdir" install
}
|