updated PKGBUILD files
This commit is contained in:
parent
ab5c23751f
commit
28456170ad
|
@ -1,15 +1,19 @@
|
||||||
|
# Maintainer: Martchus <martchus@gmx.net>
|
||||||
pkgname=c++utilities
|
pkgname=c++utilities
|
||||||
pkgver=1.0.4
|
pkgver=1.0.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('i686' 'x86_64')
|
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')
|
license=('GPL')
|
||||||
depends=('qt5-base')
|
depends=('qt5-base')
|
||||||
makedepends=
|
makedepends=
|
||||||
url="http://martchus.netai.net/"
|
url="https://github.com/Martchus/cpp-utilities"
|
||||||
source=("$pkgname.tar.gz")
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz")
|
||||||
md5sums=('4e94aff9225d8873f752995c1bcc5f15')
|
sha256sums=('4e94aff9225d8873f752995c1bcc5f15')
|
||||||
|
|
||||||
# head end
|
# head end
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname
|
cd $srcdir/$pkgname
|
||||||
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++
|
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++
|
||||||
|
|
|
@ -1,21 +1,24 @@
|
||||||
_name=c++utilities
|
_name=c++utilities
|
||||||
pkgname=mingw-w64-$_name
|
pkgname=mingw-w64-c++utilities
|
||||||
pkgver=1.0.4
|
pkgver=1.0.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('any')
|
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')
|
license=('GPL')
|
||||||
depends=('mingw-w64-crt' 'mingw-w64-qt5-base')
|
depends=('mingw-w64-crt' 'mingw-w64-qt5-base')
|
||||||
makedepends=('mingw-w64-gcc')
|
makedepends=('mingw-w64-gcc')
|
||||||
url="http://martchus.netai.net/"
|
url="https://github.com/Martchus/cpp-utilities"
|
||||||
source=("$_name.tar.gz")
|
source=("c++utilities-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz")
|
||||||
md5sums=('4e94aff9225d8873f752995c1bcc5f15')
|
sha256sums=('4e94aff9225d8873f752995c1bcc5f15')
|
||||||
options=('staticlibs' '!strip')
|
options=('staticlibs' '!strip')
|
||||||
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
||||||
|
|
||||||
# head end
|
# head end
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$_name
|
cd $srcdir/$_name
|
||||||
# build utilities for each architecture
|
# build for each architecture
|
||||||
for _arch in ${_architectures}; do
|
for _arch in ${_architectures}; do
|
||||||
mkdir -p build-${_arch} && pushd build-${_arch}
|
mkdir -p build-${_arch} && pushd build-${_arch}
|
||||||
INSTALL_ROOT=$pkgdir/usr/ ${_arch}-qmake-qt5 -r ../${_name}.pro
|
INSTALL_ROOT=$pkgdir/usr/ ${_arch}-qmake-qt5 -r ../${_name}.pro
|
||||||
|
|
Loading…
Reference in New Issue