diff options
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..1ffc9cf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Aqua-sama <aqua@iserlohn-fortress.net> + +pkgname=DeclarativeWidgets-git +pkgver=r322.4126c30 +pkgrel=1 +pkgdesc="Library and tools for creating QtWidget UIs using QML" +url="https://github.com/KDAB/DeclarativeWidgets" +license=('GPL') +arch=('x86_64') +depends=(qt5-declarative) +makedepends=(qt5-tools) +source=("git+https://github.com/KDAB/DeclarativeWidgets") +md5sums=('SKIP') + +pkgver() { + cd DeclarativeWidgets + echo r$(git rev-list --count HEAD)-$(git rev-parse --short HEAD) | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd DeclarativeWidgets + qmake -r declarativewidgets.pro + make +} + +package() { + cd DeclarativeWidgets + INSTALL_ROOT="$pkgdir" make install +} |