diff options
author | Martchus | 2019-07-20 16:55:35 +0200 |
---|---|---|
committer | Martchus | 2019-07-20 16:55:35 +0200 |
commit | 1755129468b6010ce9656f840b53b57341733e22 (patch) | |
tree | 102083b2973f5adde94ae557ffae79164721703d | |
download | aur-1755129468b6010ce9656f840b53b57341733e22.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f6e9c530bd25 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = qtutilities-git + pkgdesc = Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models + pkgver = 163.6078f1221a + pkgrel = 1 + url = https://github.com/Martchus/qtutilities + arch = i686 + arch = x86_64 + arch = armv6h + arch = armv7h + arch = aarch64 + license = GPL + makedepends = cmake + makedepends = git + makedepends = qt5-tools + depends = c++utilities-git + depends = qt5-base + depends = mesa + optdepends = qtutilities-doc: API documentation + conflicts = qtutilities + source = qtutilities::git://github.com/Martchus/qtutilities.git + sha256sums = SKIP + +pkgname = qtutilities-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..53831893c5e7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Martchus <martchus@gmx.net> + +# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where +# you also find the URL of a binary repository. + +_reponame=qtutilities +pkgname=qtutilities-git +_name=${pkgname%-git} +pkgver=163.6078f1221a +pkgrel=1 +arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') +pkgdesc='Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models' +license=('GPL') +depends=('c++utilities-git' 'qt5-base' 'mesa') +optdepends=("$_name-doc: API documentation") +makedepends=('cmake' 'git' 'qt5-tools') +#provides=("${_name}") +conflicts=("${_name}") +url="https://github.com/Martchus/${_reponame}" +source=("${_reponame}::${MARTCHUS_GIT_URL_PREFIX:-git://github.com/Martchus}/${_reponame}.git") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame}" + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame}" + cmake \ + -DCMAKE_BUILD_TYPE:STRING='Release' \ + -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + . + make +} + +package() { + cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame}" + make DESTDIR="${pkgdir}" install +} |