Skip to content

Instantly share code, notes, and snippets.

/-

Created Mar 23, 2015
Embed
What would you like to do?
# Maintainer: Jerome Leclanche <jerome@leclan.ch>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
_pkgname=qt5-declarative
pkgname=$_pkgname-git
pkgver=v5.5.0.alpha1.49.g7b72974
pkgrel=1
pkgdesc="A cross-platform application and UI framework (QtQml, QtQuick)"
arch=("i686" "x86_64")
url="https://qt-project.org/"
license=("GPL3" "LGPL")
depends=("qt5-xmlpatterns-git")
makedepends=("git")
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://gitorious.org/qt/qtdeclarative.git#branch=dev")
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/$_pkgname"
git describe --always | sed "s/-/./g"
}
prepare() {
cd "$srcdir/$_pkgname"
mkdir -p build
cd build
qmake ..
make
}
package() {
cd "$srcdir/$_pkgname"
cd build
make INSTALL_ROOT="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.