From 6ece08a2f2d3f446181a5564d4fef8f74c0267ef Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 18 Jul 2015 00:43:03 +0200 Subject: [PATCH] updated PKGBUILD files --- c++utilities/default/PKGBUILD | 2 +- c++utilities/mingw-w64/PKGBUILD | 18 ++++-------------- geocoordinatecalculator/default/PKGBUILD | 2 +- geocoordinatecalculator/mingw-w64/PKGBUILD | 10 ++++------ passwordfile/default/PKGBUILD | 2 +- passwordfile/mingw-w64/PKGBUILD | 16 +++------------- passwordmanager/default/PKGBUILD | 2 +- passwordmanager/mingw-w64/PKGBUILD | 10 ++++------ qtutilities/default/PKGBUILD | 2 +- qtutilities/mingw-w64/PKGBUILD | 18 ++++-------------- tageditor/default/PKGBUILD | 2 +- tageditor/mingw-w64/PKGBUILD | 10 ++++------ tagparser/mingw-w64/PKGBUILD | 14 ++------------ videodownloader/default/PKGBUILD | 2 +- videodownloader/mingw-w64/PKGBUILD | 10 ++++------ 15 files changed, 36 insertions(+), 84 deletions(-) diff --git a/c++utilities/default/PKGBUILD b/c++utilities/default/PKGBUILD index d5182362..f0c14002 100644 --- a/c++utilities/default/PKGBUILD +++ b/c++utilities/default/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Martchus pkgname=c++utilities pkgver=1.0.6 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities." diff --git a/c++utilities/mingw-w64/PKGBUILD b/c++utilities/mingw-w64/PKGBUILD index 22f1c82a..b4b7f8ae 100644 --- a/c++utilities/mingw-w64/PKGBUILD +++ b/c++utilities/mingw-w64/PKGBUILD @@ -1,7 +1,7 @@ _name=c++utilities pkgname=mingw-w64-c++utilities pkgver=1.0.6 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities (mingw-w64)." @@ -22,7 +22,7 @@ build() { # 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 + INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion make popd done @@ -31,18 +31,8 @@ build() { package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" for _arch in ${_architectures}; do - # bin stuff pushd build-${_arch} - ${_arch}-strip --strip-unneeded ./release/${_name}.dll - ${_arch}-strip --strip-unneeded ./release/lib${_name}.dll.a - install -m755 -D ./release/${_name}.dll $pkgdir/usr/${_arch}/bin/${_name}.dll - install -m755 -D ./release/lib${_name}.dll.a $pkgdir/usr/${_arch}/lib/lib${_name}.dll.a - popd - # include files - for dir in application chrono conversion io math misc - do - mkdir -p $pkgdir/usr/${_arch}/include/${_name}/$dir - install -m644 -D ./$dir/*.h $pkgdir/usr/${_arch}/include/${_name}/$dir - done + make install + popd done } diff --git a/geocoordinatecalculator/default/PKGBUILD b/geocoordinatecalculator/default/PKGBUILD index 05194cb1..d9648ba7 100644 --- a/geocoordinatecalculator/default/PKGBUILD +++ b/geocoordinatecalculator/default/PKGBUILD @@ -1,6 +1,6 @@ pkgname=geocoordinatecalculator pkgver=1.0.0 -pkgrel=6 +pkgrel=7 arch=('i686' 'x86_64') pkgdesc="Tool for basic calculations with geo coordinates such as format conversions and calculation of distance, bearing, mid point, destination and more." license=('GPL') diff --git a/geocoordinatecalculator/mingw-w64/PKGBUILD b/geocoordinatecalculator/mingw-w64/PKGBUILD index 95c82270..5874ff3d 100644 --- a/geocoordinatecalculator/mingw-w64/PKGBUILD +++ b/geocoordinatecalculator/mingw-w64/PKGBUILD @@ -1,7 +1,7 @@ _name=geocoordinatecalculator pkgname=mingw-w64-geocoordinatecalculator pkgver=1.0.0 -pkgrel=6 +pkgrel=2 arch=('any') pkgdesc="Tool for basic calculations with geo coordinates such as format conversions and calculation of distance, bearing, mid point, destination and more (mingw-w64)." license=('GPL') @@ -20,7 +20,7 @@ build() { # 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 + INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion make popd done @@ -29,10 +29,8 @@ build() { package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" for _arch in ${_architectures}; do - # bin stuff pushd build-${_arch} - strip --strip-unneeded ./release/${_name}.exe - install -m755 -D ./release/${_name}.exe $pkgdir/usr/${_arch}/bin/${_name}.exe - popd + make install + popd done } diff --git a/passwordfile/default/PKGBUILD b/passwordfile/default/PKGBUILD index cca46a47..adc40ae6 100644 --- a/passwordfile/default/PKGBUILD +++ b/passwordfile/default/PKGBUILD @@ -1,6 +1,6 @@ pkgname=passwordfile pkgver=2.0.5 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL." license=('GPL') diff --git a/passwordfile/mingw-w64/PKGBUILD b/passwordfile/mingw-w64/PKGBUILD index f50107ff..b83cd160 100644 --- a/passwordfile/mingw-w64/PKGBUILD +++ b/passwordfile/mingw-w64/PKGBUILD @@ -1,7 +1,7 @@ _name=passwordfile pkgname=mingw-w64-passwordfile pkgver=2.0.5 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="A library for reading and writing AES-256-CBC encrypted password files using OpenSSL (mingw-w64)." license=('GPL') @@ -21,7 +21,7 @@ build() { # 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 + INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion make popd done @@ -30,18 +30,8 @@ build() { package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" for _arch in ${_architectures}; do - # bin stuff pushd build-${_arch} - ${_arch}-strip --strip-unneeded ./release/${_name}.dll - ${_arch}-strip --strip-unneeded ./release/lib${_name}.dll.a - install -m755 -D ./release/${_name}.dll $pkgdir/usr/${_arch}/bin/${_name}.dll - install -m755 -D ./release/lib${_name}.dll.a $pkgdir/usr/${_arch}/lib/lib${_name}.dll.a + make install popd - # include files - for dir in io util - do - mkdir -p $pkgdir/usr/${_arch}/include/${_name}/$dir - install -m644 -D ./$dir/*.h $pkgdir/usr/${_arch}/include/${_name}/$dir - done done } diff --git a/passwordmanager/default/PKGBUILD b/passwordmanager/default/PKGBUILD index 27eadd22..f9e74440 100644 --- a/passwordmanager/default/PKGBUILD +++ b/passwordmanager/default/PKGBUILD @@ -1,6 +1,6 @@ pkgname=passwordmanager pkgver=2.0.7 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL." license=('GPL') diff --git a/passwordmanager/mingw-w64/PKGBUILD b/passwordmanager/mingw-w64/PKGBUILD index a02d25a7..33ad5636 100644 --- a/passwordmanager/mingw-w64/PKGBUILD +++ b/passwordmanager/mingw-w64/PKGBUILD @@ -1,7 +1,7 @@ _name=passwordmanager pkgname=mingw-w64-passwordmanager pkgver=2.0.7 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL (mingw-w64)." license=('GPL') @@ -20,7 +20,7 @@ build() { # 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 + INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion make popd done @@ -28,11 +28,9 @@ build() { package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" - for _arch in ${_architectures}; do - # bin stuff + for _arch in ${_architectures}; do pushd build-${_arch} - strip --strip-unneeded ./release/${_name}.exe - install -m755 -D ./release/${_name}.exe $pkgdir/usr/${_arch}/bin/${_name}.exe + make install popd done } diff --git a/qtutilities/default/PKGBUILD b/qtutilities/default/PKGBUILD index 03a0679e..564116df 100644 --- a/qtutilities/default/PKGBUILD +++ b/qtutilities/default/PKGBUILD @@ -1,6 +1,6 @@ pkgname=qtutilities pkgver=1.0.6 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models." diff --git a/qtutilities/mingw-w64/PKGBUILD b/qtutilities/mingw-w64/PKGBUILD index aad11780..23053f78 100644 --- a/qtutilities/mingw-w64/PKGBUILD +++ b/qtutilities/mingw-w64/PKGBUILD @@ -1,7 +1,7 @@ _name=qtutilities pkgname=mingw-w64-qtutilities pkgver=1.0.6 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models. (mingw-w64)." @@ -22,7 +22,7 @@ build() { # build utilities 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 + INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion make popd done @@ -31,18 +31,8 @@ build() { package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" for _arch in ${_architectures}; do - # bin stuff pushd build-${_arch} - ${_arch}-strip --strip-unneeded ./release/${_name}.dll - ${_arch}-strip --strip-unneeded ./release/lib${_name}.dll.a - install -m755 -D ./release/${_name}.dll $pkgdir/usr/${_arch}/bin/${_name}.dll - install -m755 -D ./release/lib${_name}.dll.a $pkgdir/usr/${_arch}/lib/lib${_name}.dll.a - popd - # include files - for dir in aboutdialog enterpassworddialog settingsdialog widgets resources models - do - mkdir -p $pkgdir/usr/${_arch}/include/${_name}/$dir - install -m644 -D ./$dir/*.h $pkgdir/usr/${_arch}/include/${_name}/$dir - done + make install + popd done } diff --git a/tageditor/default/PKGBUILD b/tageditor/default/PKGBUILD index 2ddea78b..b7831d96 100644 --- a/tageditor/default/PKGBUILD +++ b/tageditor/default/PKGBUILD @@ -1,6 +1,6 @@ pkgname=tageditor pkgver=1.1.5 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="Library for reading and editing meta-data of several media formats." license=('GPL') diff --git a/tageditor/mingw-w64/PKGBUILD b/tageditor/mingw-w64/PKGBUILD index 16536b6e..fe0130ab 100644 --- a/tageditor/mingw-w64/PKGBUILD +++ b/tageditor/mingw-w64/PKGBUILD @@ -1,7 +1,7 @@ _name=tageditor pkgname=mingw-w64-tageditor pkgver=1.1.5 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="Library for reading and editing meta-data of several media formats (mingw-w64)." license=('GPL') @@ -20,7 +20,7 @@ build() { # build utilities 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 + INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion make popd done @@ -28,11 +28,9 @@ build() { package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" - for _arch in ${_architectures}; do - # bin stuff + for _arch in ${_architectures}; do pushd build-${_arch} - strip --strip-unneeded ./release/${_name}.exe - install -m755 -D ./release/${_name}.exe $pkgdir/usr/${_arch}/bin/${_name}.exe + make install popd done } diff --git a/tagparser/mingw-w64/PKGBUILD b/tagparser/mingw-w64/PKGBUILD index f1573093..2f65e7df 100644 --- a/tagparser/mingw-w64/PKGBUILD +++ b/tagparser/mingw-w64/PKGBUILD @@ -21,7 +21,7 @@ build() { # build utilities 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 + INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion make popd done @@ -30,18 +30,8 @@ build() { package() { cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" for _arch in ${_architectures}; do - # bin stuff pushd build-${_arch} - ${_arch}-strip --strip-unneeded ./release/${_name}.dll - ${_arch}-strip --strip-unneeded ./release/lib${_name}.dll.a - install -m755 -D ./release/${_name}.dll $pkgdir/usr/${_arch}/bin/${_name}.dll - install -m755 -D ./release/lib${_name}.dll.a $pkgdir/usr/${_arch}/lib/lib${_name}.dll.a + make install popd - # include files - for dir in ./ avc id3 matroska mp4 mpegaudio ogg vorbis wav - do - mkdir -p $pkgdir/usr/${_arch}/include/${_name}/$dir - install -m644 -D ./$dir/*.h $pkgdir/usr/${_arch}/include/${_name}/$dir - done done } diff --git a/videodownloader/default/PKGBUILD b/videodownloader/default/PKGBUILD index f8ce8e06..4f771d8e 100644 --- a/videodownloader/default/PKGBUILD +++ b/videodownloader/default/PKGBUILD @@ -1,6 +1,6 @@ pkgname=videodownloader pkgver=1.0.7 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained)." license=('GPL') diff --git a/videodownloader/mingw-w64/PKGBUILD b/videodownloader/mingw-w64/PKGBUILD index 5dac0a5c..45bfae2d 100644 --- a/videodownloader/mingw-w64/PKGBUILD +++ b/videodownloader/mingw-w64/PKGBUILD @@ -1,7 +1,7 @@ _name=videodownloader pkgname=mingw-w64-videodownloader pkgver=1.0.7 -pkgrel=1 +pkgrel=2 arch=('any') pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained, mingw-w64)." license=('GPL') @@ -20,7 +20,7 @@ build() { # build utilities 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 + INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion make popd done @@ -28,11 +28,9 @@ build() { package() { cd $srcdir/$_name - for _arch in ${_architectures}; do - # bin stuff + for _arch in ${_architectures}; do pushd build-${_arch} - strip --strip-unneeded ./release/${_name}.exe - install -m755 -D ./release/${_name}.exe $pkgdir/usr/${_arch}/bin/${_name}.exe + make install popd done }