summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2015-12-27 23:11:59 +0100
committerMartchus2015-12-27 23:11:59 +0100
commitbc1bd007def825ad292009ba8e8c65cc29a0a535 (patch)
treecce631582726ae4743645979f11b4ba5211a308c
downloadaur-bc1bd007def825ad292009ba8e8c65cc29a0a535.tar.gz
initial import
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD36
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3a7a2af21af
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Sun Dec 27 22:11:59 UTC 2015
+pkgbase = mingw-w64-qtutilities
+ pkgdesc = Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models. (mingw-w64).
+ pkgver = 3.1.0
+ pkgrel = 1
+ url = https://github.com/Martchus/qtutilities
+ arch = any
+ license = GPL
+ makedepends = mingw-w64-gcc
+ makedepends = mingw-w64-cmake
+ depends = mingw-w64-crt
+ depends = mingw-w64-qt5-base
+ depends = mingw-w64-c++utilities
+ options = !buildflags
+ options = staticlibs
+ options = !strip
+ options = !emptydirs
+ source = qtutilities-3.1.0.tar.gz::https://github.com/Martchus/qtutilities/archive/v3.1.0.tar.gz
+ sha256sums = 01f176f139be5bc2bb136428c497a1b491611e51c480d0fb261ae0536a270236
+
+pkgname = mingw-w64-qtutilities
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..97ddc72fe2d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Martchus <martchus@gmx.net>
+_name=qtutilities
+_reponame=qtutilities
+pkgname=mingw-w64-qtutilities
+pkgver=3.1.0
+pkgrel=1
+arch=('any')
+pkgdesc="Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models. (mingw-w64)."
+license=('GPL')
+depends=('mingw-w64-crt' 'mingw-w64-qt5-base' 'mingw-w64-c++utilities')
+makedepends=('mingw-w64-gcc' 'mingw-w64-cmake')
+url="https://github.com/Martchus/${_reponame}"
+source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
+sha256sums=('01f176f139be5bc2bb136428c497a1b491611e51c480d0fb261ae0536a270236')
+options=(!buildflags staticlibs !strip !emptydirs)
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
+build() {
+ cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
+ # build utilities for each architecture
+ for _arch in ${_architectures}; do
+ mkdir -p build-${_arch} && pushd build-${_arch}
+ ${_arch}-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr/${_arch}" ../
+ make
+ popd
+ done
+}
+
+package() {
+ cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
+ for _arch in ${_architectures}; do
+ pushd build-${_arch}
+ make install-mingw-w64-strip
+ popd
+ done
+}