From 933dea7f9889b33cc4579a3823101897ce92db48 Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 29 Apr 2015 21:22:40 +0200 Subject: [PATCH] updated PKGBUILD files --- pkgbuild/default/PKGBUILD | 11 +++++++---- pkgbuild/mingw-w64/PKGBUILD | 13 ++++++++----- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/pkgbuild/default/PKGBUILD b/pkgbuild/default/PKGBUILD index 905ef46..584919d 100644 --- a/pkgbuild/default/PKGBUILD +++ b/pkgbuild/default/PKGBUILD @@ -2,14 +2,17 @@ pkgname=qtutilities pkgver=1.0.4 pkgrel=1 arch=('i686' 'x86_64') -pkgdesc="Collection of Qt related utility classes and functions used by Tageditor, Video downloader and Password manager." +pkgdesc="Common Qt related C++ classes and routines used by my + applications such as dialogs, widgets and models." license=('GPL') depends=('c++utilities') makedepends= -url="http://martchus.netai.net/" -source=("$pkgname.tar.gz") -md5sums=('cee38afc5eb60b2da4eba64107628ed7') +url="https://github.com/Martchus/qtutilities" +source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/qtutilities/archive/v${pkgver}.tar.gz") +sha256sums=('cee38afc5eb60b2da4eba64107628ed7') + # head end + build() { cd $srcdir/$pkgname INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ diff --git a/pkgbuild/mingw-w64/PKGBUILD b/pkgbuild/mingw-w64/PKGBUILD index 61c16fc..d0df711 100644 --- a/pkgbuild/mingw-w64/PKGBUILD +++ b/pkgbuild/mingw-w64/PKGBUILD @@ -1,18 +1,21 @@ _name=qtutilities -pkgname=mingw-w64-$_name +pkgname=mingw-w64-qtutilities pkgver=1.0.4 pkgrel=1 arch=('any') -pkgdesc="Collection of Qt related utility classes and functions used by Tageditor, Video downloader and Password manager (mingw-w64)." +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') -url="http://martchus.netai.net/" -source=("${_name}.tar.gz") -md5sums=('4e94aff9225d8873f752995c1bcc5f15') +url="https://github.com/Martchus/qtutilities" +source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/qtutilities/archive/v${pkgver}.tar.gz") +sha256sums=('4e94aff9225d8873f752995c1bcc5f15') options=('staticlibs' '!strip') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" + # head end + build() { cd $srcdir/$_name # build utilities for each architecture