blob: 853a46919657fea9026f7d47ae22df2b32c80e82 (
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
|
# Maintainer: Arsen Musayelyan <moussaelianarsen@gmail.com>
pkgname=qlift-c-api-git
pkgver=r73.0f732b4
pkgrel=1
pkgdesc="C API to Qt for Qlift"
arch=('any')
license=('MIT')
makedepends=('cmake' 'gcc' 'make')
source=('git+https://github.com/Longhanks/qlift-c-api.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/qlift-c-api"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/qlift-c-api"
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$pkgdir//usr ..
make
}
package() {
cd "$srcdir/qlift-c-api/build"
make DESTDIR="$pkgdir/" install
}
|