updated PKGBUILD files

This commit is contained in:
Martchus 2015-04-29 21:34:23 +02:00
parent ab5c23751f
commit 28456170ad
2 changed files with 17 additions and 10 deletions

View File

@ -1,15 +1,19 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=c++utilities
pkgver=1.0.4
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Collection of utility classes and functions used by Tageditor, Video downloader and Password Manager."
pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities."
license=('GPL')
depends=('qt5-base')
makedepends=
url="http://martchus.netai.net/"
source=("$pkgname.tar.gz")
md5sums=('4e94aff9225d8873f752995c1bcc5f15')
url="https://github.com/Martchus/cpp-utilities"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz")
sha256sums=('4e94aff9225d8873f752995c1bcc5f15')
# head end
build() {
cd $srcdir/$pkgname
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++

View File

@ -1,21 +1,24 @@
_name=c++utilities
pkgname=mingw-w64-$_name
pkgname=mingw-w64-c++utilities
pkgver=1.0.4
pkgrel=1
arch=('any')
pkgdesc="Collection of utility classes and functions used by Tageditor, Video downloader and Password Manager (mingw-w64)."
pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities (mingw-w64)."
license=('GPL')
depends=('mingw-w64-crt' 'mingw-w64-qt5-base')
makedepends=('mingw-w64-gcc')
url="http://martchus.netai.net/"
source=("$_name.tar.gz")
md5sums=('4e94aff9225d8873f752995c1bcc5f15')
url="https://github.com/Martchus/cpp-utilities"
source=("c++utilities-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/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
# build for each architecture
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
INSTALL_ROOT=$pkgdir/usr/ ${_arch}-qmake-qt5 -r ../${_name}.pro