diff options
author | FabioLolix | 2018-09-25 00:12:05 +0200 |
---|---|---|
committer | FabioLolix | 2018-09-25 00:12:05 +0200 |
commit | b9bbedfd60c02c9d4f12471c88b53dc607693070 (patch) | |
tree | 6926672d3c10bcd1b2438ba4a51a01df8ec2a42a /PKGBUILD | |
download | aur-b9bbedfd60c02c9d4f12471c88b53dc607693070.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..65ccb3649634 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix + +pkgname=mauikit-git +pkgver=r68.f7abd11 +pkgrel=1 +pkgdesc='Utilities and "templated" controls based on Kirigami and QCC2 that follow the ongoing work on the Maui HIG' +arch=(x86_64 i686 arm armv6h armv7h aarch64) +url="https://mauikit.org/" +license=(unknown) # GPL3 ? +depends=(qt5-base qt5-declarative qt5-svg qt5-quickcontrols2 kio) +makedepends=(git cmake extra-cmake-modules) +provides=(mauikit) +conflicts=(mauikit) +source=("${pkgname}::git+https://github.com/maui-project/mauikit") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$pkgname" + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + make +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir" install +} |