updated PKGBUILDs

This commit is contained in:
Martchus 2015-08-26 21:21:22 +02:00
parent 63a39b8edc
commit cd003cdccf
34 changed files with 371 additions and 132 deletions

View File

@ -17,8 +17,6 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/${pkgname}/arc
noextract= noextract=
sha256sums=('skip') sha256sums=('skip')
# head end
package() { package() {
_srcdir="${srcdir}/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" _srcdir="${srcdir}/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
install -Dm755 "${_srcdir}/blackwidowcontrol.py" "${pkgdir}/usr/bin/blackwidowcontrol" install -Dm755 "${_srcdir}/blackwidowcontrol.py" "${pkgdir}/usr/bin/blackwidowcontrol"

View File

@ -1,7 +1,7 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
pkgname=c++utilities pkgname=c++utilities
pkgver=1.0.6 pkgver=2.0.0
pkgrel=2 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc="Common C++ classes and routines used by my applications such pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities." as argument parser, IO and conversion utilities."
@ -11,13 +11,11 @@ makedepends=('qt5-base')
url="https://github.com/Martchus/cpp-utilities" url="https://github.com/Martchus/cpp-utilities"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz")
_reponame=cpp-utilities _reponame=cpp-utilities
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

32
c++utilities/git/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=c++utilities-git
pkgver=2.0.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities."
license=('GPL')
depends=('gcc-libs')
makedepends=('qt5-base')
provides=('c++utilities')
conflicts=('c++utilities')
url="https://github.com/Martchus/cpp-utilities"
source=("${pkgname}::git://github.com/Martchus/cpp-utilities.git")
_reponame=cpp-utilities
sha256sums=('skip')
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "${srcdir}/${pkgname}"
make install
}

View File

@ -1,8 +1,8 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
_name=c++utilities _name=c++utilities
pkgname=mingw-w64-c++utilities pkgname=mingw-w64-c++utilities
pkgver=1.0.6 pkgver=2.0.0
pkgrel=2 pkgrel=1
arch=('any') arch=('any')
pkgdesc="Common C++ classes and routines used by my applications such pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities (mingw-w64)." as argument parser, IO and conversion utilities (mingw-w64)."
@ -12,18 +12,16 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-base')
url="https://github.com/Martchus/cpp-utilities" url="https://github.com/Martchus/cpp-utilities"
source=("c++utilities-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz") source=("c++utilities-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz")
_reponame=cpp-utilities _reponame=cpp-utilities
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
options=('staticlibs' '!strip') options=('staticlibs' '!strip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build 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} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion
make make
popd popd
done done

View File

@ -0,0 +1,24 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=dbus-soundrecorder
pkgver=1.0.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Records sound from Pulse Audio using ffmpeg while watching D-Bus to determine tracks and meta data."
license=('GPL')
depends=('c++utilities')
makedepends=('qt5-base')
url="https://github.com/Martchus/dbus-soundrecorder"
source=("dbus-soundrecorder-${pkgver}.tar.gz::https://github.com/Martchus/dbus-soundrecorder/archive/v${pkgver}.tar.gz")
_reponame=dbus-soundrecorder
sha256sums=('skip')
build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make install
}

View File

@ -1,7 +1,7 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
pkgname=geocoordinatecalculator pkgname=geocoordinatecalculator
pkgver=1.0.0 pkgver=1.0.0
pkgrel=7 pkgrel=8
arch=('i686' 'x86_64') 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." pkgdesc="Tool for basic calculations with geo coordinates such as format conversions and calculation of distance, bearing, mid point, destination and more."
license=('GPL') license=('GPL')
@ -10,13 +10,11 @@ makedepends=('qt5-base')
url="https://github.com/Martchus/geocoordinatecalculator" url="https://github.com/Martchus/geocoordinatecalculator"
source=("geocoordinatecalculator-${pkgver}.tar.gz::https://github.com/Martchus/geocoordinatecalculator/archive/v${pkgver}.tar.gz") source=("geocoordinatecalculator-${pkgver}.tar.gz::https://github.com/Martchus/geocoordinatecalculator/archive/v${pkgver}.tar.gz")
_reponame=geocoordinatecalculator _reponame=geocoordinatecalculator
sha256sums=('931c9e06a1c05519b3b99ddd385e494e') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

View File

@ -2,7 +2,7 @@
_name=geocoordinatecalculator _name=geocoordinatecalculator
pkgname=mingw-w64-geocoordinatecalculator pkgname=mingw-w64-geocoordinatecalculator
pkgver=1.0.0 pkgver=1.0.0
pkgrel=2 pkgrel=8
arch=('any') 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)." 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') license=('GPL')
@ -11,17 +11,15 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-base')
url="https://github.com/Martchus/geocoordinatecalculator" url="https://github.com/Martchus/geocoordinatecalculator"
source=("geocoordinatecalculator-${pkgver}.tar.gz::https://github.com/Martchus/geocoordinatecalculator/archive/v${pkgver}.tar.gz") source=("geocoordinatecalculator-${pkgver}.tar.gz::https://github.com/Martchus/geocoordinatecalculator/archive/v${pkgver}.tar.gz")
_reponame=geocoordinatecalculator _reponame=geocoordinatecalculator
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build 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} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion
make make
popd popd
done done

View File

@ -1,9 +1,9 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
pkgname=passwordfile pkgname=passwordfile
pkgver=2.0.5 pkgver=3.0.0
pkgrel=2 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL." pkgdesc="C++ library to read/write passwords from/to encrypted files (using AES-256-CBC via OpenSSL)."
license=('GPL') license=('GPL')
depends=('c++utilities' 'openssl') depends=('c++utilities' 'openssl')
makedepends=('qt5-base') makedepends=('qt5-base')
@ -11,13 +11,11 @@ install=
url="https://github.com/Martchus/passwordfile" url="https://github.com/Martchus/passwordfile"
source=("passwordfile-${pkgver}.tar.gz::https://github.com/Martchus/passwordfile/archive/v${pkgver}.tar.gz") source=("passwordfile-${pkgver}.tar.gz::https://github.com/Martchus/passwordfile/archive/v${pkgver}.tar.gz")
_reponame=passwordfile _reponame=passwordfile
sha256sums=('d359927292464fcf41c8a11315ff79e2') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

32
passwordfile/git/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=passwordfile-git
pkgver=3.0.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="C++ library to read/write passwords from/to encrypted files (using AES-256-CBC via OpenSSL)."
license=('GPL')
depends=('c++utilities' 'openssl')
makedepends=('qt5-base')
provides=('passwordfile')
conflicts=('passwordfile')
install=
url="https://github.com/Martchus/passwordfile"
source=("${pkgname}::git://github.com/Martchus/passwordfile.git")
_reponame=passwordfile
sha256sums=('skip')
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "${srcdir}/${pkgname}"
make install
}

View File

@ -1,28 +1,26 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
_name=passwordfile _name=passwordfile
pkgname=mingw-w64-passwordfile pkgname=mingw-w64-passwordfile
pkgver=2.0.5 pkgver=3.0.0
pkgrel=2 pkgrel=1
arch=('any') arch=('any')
pkgdesc="A library for reading and writing AES-256-CBC encrypted password files using OpenSSL (mingw-w64)." pkgdesc="C++ library to read/write passwords from/to encrypted files (using AES-256-CBC via OpenSSL, mingw-w64)."
license=('GPL') license=('GPL')
depends=('mingw-w64-crt' 'mingw-w64-c++utilities' 'mingw-w64-openssl') depends=('mingw-w64-crt' 'mingw-w64-c++utilities' 'mingw-w64-openssl')
makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-base') makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-base')
url="https://github.com/Martchus/passwordfile" url="https://github.com/Martchus/passwordfile"
source=("passwordfile-${pkgver}.tar.gz::https://github.com/Martchus/passwordfile/archive/v${pkgver}.tar.gz") source=("passwordfile-${pkgver}.tar.gz::https://github.com/Martchus/passwordfile/archive/v${pkgver}.tar.gz")
_reponame=passwordfile _reponame=passwordfile
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
options=('staticlibs' '!strip') options=('staticlibs' '!strip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build 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} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion
make make
popd popd
done done

View File

@ -1,7 +1,7 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
pkgname=passwordmanager pkgname=passwordmanager
pkgver=2.0.7 pkgver=2.0.7
pkgrel=2 pkgrel=3
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL." pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL."
license=('GPL') license=('GPL')
@ -11,13 +11,11 @@ install=${pkgname}.install
url="https://github.com/Martchus/passwordmanager" url="https://github.com/Martchus/passwordmanager"
source=("passwordmanager-${pkgver}.tar.gz::https://github.com/Martchus/passwordmanager/archive/v${pkgver}.tar.gz") source=("passwordmanager-${pkgver}.tar.gz::https://github.com/Martchus/passwordmanager/archive/v${pkgver}.tar.gz")
_reponame=passwordmanager _reponame=passwordmanager
sha256sums=('d359927292464fcf41c8a11315ff79e2') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

View File

@ -0,0 +1,32 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=passwordmanager-git
pkgver=2.0.7
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL."
license=('GPL')
depends=('qt5-base' 'qtutilities' 'passwordfile' 'openssl' 'libxkbcommon-x11')
makedepends=('qt5-tools')
provides=('passwordmanager')
conflicts=('passwordmanager')
install=${pkgname}.install
url="https://github.com/Martchus/passwordmanager"
source=("${pkgname}::git://github.com/Martchus/passwordmanager.git")
_reponame=passwordmanager
sha256sums=('skip')
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "${srcdir}/${pkgname}"
make install
}

View File

@ -2,7 +2,7 @@
_name=passwordmanager _name=passwordmanager
pkgname=mingw-w64-passwordmanager pkgname=mingw-w64-passwordmanager
pkgver=2.0.7 pkgver=2.0.7
pkgrel=2 pkgrel=3
arch=('any') arch=('any')
pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL (mingw-w64)." pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL (mingw-w64)."
license=('GPL') license=('GPL')
@ -11,17 +11,15 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-tools')
url="https://github.com/Martchus/passwordmanager" url="https://github.com/Martchus/passwordmanager"
source=("passwordmanager-${pkgver}.tar.gz::https://github.com/Martchus/passwordmanager/archive/v${pkgver}.tar.gz") source=("passwordmanager-${pkgver}.tar.gz::https://github.com/Martchus/passwordmanager/archive/v${pkgver}.tar.gz")
_reponame=passwordmanager _reponame=passwordmanager
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build 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} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion
make make
popd popd
done done

View File

@ -2,20 +2,27 @@ OTHER_FILES += \
README.md \ README.md \
LICENSE \ LICENSE \
c++utilities/default/PKGBUILD \ c++utilities/default/PKGBUILD \
c++utilities/git/PKGBUILD \
c++utilities/mingw-w64/PKGBUILD \ c++utilities/mingw-w64/PKGBUILD \
geocoordinatecalculator/default/PKGBUILD \ geocoordinatecalculator/default/PKGBUILD \
geocoordinatecalculator/mingw-w64/PKGBUILD \ geocoordinatecalculator/mingw-w64/PKGBUILD \
passwordfile/default/PKGBUILD \ passwordfile/default/PKGBUILD \
passwordfile/git/PKGBUILD \
passwordfile/mingw-w64/PKGBUILD \ passwordfile/mingw-w64/PKGBUILD \
passwordmanager/default/PKGBUILD \ passwordmanager/default/PKGBUILD \
passwordmanager/git/PKGBUILD \
passwordmanager/mingw-w64/PKGBUILD \ passwordmanager/mingw-w64/PKGBUILD \
qtutilities/default/PKGBUILD \ qtutilities/default/PKGBUILD \
qtutilities/git/PKGBUILD \
qtutilities/mingw-w64/PKGBUILD \ qtutilities/mingw-w64/PKGBUILD \
repoindex/default/PKGBUILD \ repoindex/default/PKGBUILD \
repoindex/git/PKGBUILD \
repoindex/mingw-w64/PKGBUILD \ repoindex/mingw-w64/PKGBUILD \
tageditor/default/PKGBUILD \ tageditor/default/PKGBUILD \
tageditor/git/PKGBUILD \
tageditor/mingw-w64/PKGBUILD \ tageditor/mingw-w64/PKGBUILD \
tagparser/default/PKGBUILD \ tagparser/default/PKGBUILD \
tagparser/git/PKGBUILD \
tagparser/mingw-w64/PKGBUILD \ tagparser/mingw-w64/PKGBUILD \
tasky-client/default/PKGBUILD \ tasky-client/default/PKGBUILD \
tasky-client/mingw-w64/PKGBUILD \ tasky-client/mingw-w64/PKGBUILD \
@ -24,6 +31,7 @@ OTHER_FILES += \
tasky-server/default/PKGBUILD \ tasky-server/default/PKGBUILD \
tasky-server/mingw-w64/PKGBUILD \ tasky-server/mingw-w64/PKGBUILD \
videodownloader/default/PKGBUILD \ videodownloader/default/PKGBUILD \
videodownloader/git/PKGBUILD \
videodownloader/mingw-w64/PKGBUILD \ videodownloader/mingw-w64/PKGBUILD \
blackwidowcontrol/default/PKGBUILD \ blackwidowcontrol/default/PKGBUILD \
diriterator/default/PKGBUILD \ diriterator/default/PKGBUILD \
@ -32,4 +40,5 @@ OTHER_FILES += \
jflap/default/PKGBUILD \ jflap/default/PKGBUILD \
exorciser/default/PKGBUILD \ exorciser/default/PKGBUILD \
mkvtoolnix/git/PKGBUILD \ mkvtoolnix/git/PKGBUILD \
isoviewer/default/PKGBUILD isoviewer/default/PKGBUILD \
dbus-soundrecorder/default/PKGBUILD

View File

@ -1,7 +1,7 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
pkgname=qtutilities pkgname=qtutilities
pkgver=1.0.6 pkgver=2.0.0
pkgrel=2 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc="Common Qt related C++ classes and routines used by my pkgdesc="Common Qt related C++ classes and routines used by my
applications such as dialogs, widgets and models." applications such as dialogs, widgets and models."
@ -11,13 +11,11 @@ makedepends=
url="https://github.com/Martchus/qtutilities" url="https://github.com/Martchus/qtutilities"
source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/qtutilities/archive/v${pkgver}.tar.gz") source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/qtutilities/archive/v${pkgver}.tar.gz")
_reponame=qtutilities _reponame=qtutilities
sha256sums=('cee38afc5eb60b2da4eba64107628ed7') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

33
qtutilities/git/PKGBUILD Normal file
View File

@ -0,0 +1,33 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=qtutilities-git
pkgver=2.0.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Common Qt related C++ classes and routines used by my
applications such as dialogs, widgets and models."
license=('GPL')
depends=('c++utilities' 'qt5-base')
makedepends=
provides=('qtutilities')
conflicts=('qtutilities')
url="https://github.com/Martchus/qtutilities"
source=("${pkgname}::git://github.com/Martchus/qtutilities.git")
_reponame=qtutilities
sha256sums=('skip')
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "${srcdir}/${pkgname}"
make install
}

View File

@ -1,8 +1,8 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
_name=qtutilities _name=qtutilities
pkgname=mingw-w64-qtutilities pkgname=mingw-w64-qtutilities
pkgver=1.0.6 pkgver=2.0.0
pkgrel=2 pkgrel=1
arch=('any') arch=('any')
pkgdesc="Common Qt related C++ classes and routines used by my pkgdesc="Common Qt related C++ classes and routines used by my
applications such as dialogs, widgets and models. (mingw-w64)." applications such as dialogs, widgets and models. (mingw-w64)."
@ -12,18 +12,16 @@ makedepends=('mingw-w64-gcc')
url="https://github.com/Martchus/qtutilities" url="https://github.com/Martchus/qtutilities"
source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/qtutilities/archive/v${pkgver}.tar.gz") source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/qtutilities/archive/v${pkgver}.tar.gz")
_reponame=qtutilities _reponame=qtutilities
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
options=('staticlibs' '!strip') options=('staticlibs' '!strip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build utilities for each architecture # build utilities 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} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion
make make
popd popd
done done

View File

@ -10,9 +10,7 @@ makedepends=
url="https://github.com/Martchus/repoindex" url="https://github.com/Martchus/repoindex"
source=("repoindex-${pkgver}.tar.gz::https://github.com/Martchus/repoindex/archive/v${pkgver}.tar.gz") source=("repoindex-${pkgver}.tar.gz::https://github.com/Martchus/repoindex/archive/v${pkgver}.tar.gz")
_reponame=repoindex _reponame=repoindex
sha256sums=('cee38afc5eb60b2da4eba64107628ed7') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

30
repoindex/git/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=repoindex
pkgver=1.0.0
pkgrel=2
arch=('i686' 'x86_64')
pkgdesc="Provides a web interface to browse Arch Linux package repositories."
license=('GPL')
depends=('qt5-base' 'qt5-network' 'pacman' 'c++utilities')
makedepends=
url="https://github.com/Martchus/repoindex"
source=("${pkgname}::git://github.com/Martchus/repoindex.git")
_reponame=repoindex
sha256sums=('skip')
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++
make
}
package() {
cd "${srcdir}/${pkgname}"
make install
}

View File

@ -4,7 +4,7 @@
_webviewprovider=qt5-webkit _webviewprovider=qt5-webkit
pkgname=tageditor pkgname=tageditor
pkgver=1.1.5 pkgver=1.1.5
pkgrel=4 pkgrel=5
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc="Library for reading and editing meta-data of several media formats." pkgdesc="Library for reading and editing meta-data of several media formats."
license=('GPL') license=('GPL')
@ -14,9 +14,7 @@ install=${pkgname}.install
url="https://github.com/Martchus/tageditor" url="https://github.com/Martchus/tageditor"
source=("tageditor-${pkgver}.tar.gz::https://github.com/Martchus/tageditor/archive/v${pkgver}.tar.gz") source=("tageditor-${pkgver}.tar.gz::https://github.com/Martchus/tageditor/archive/v${pkgver}.tar.gz")
_reponame=tageditor _reponame=tageditor
sha256sums=('3f928ba196940cc539d0af752b69339a') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"

39
tageditor/git/PKGBUILD Normal file
View File

@ -0,0 +1,39 @@
# Maintainer: Martchus <martchus@gmx.net>
# decide whether to link against the deprecated Qt WebKit module (in qt5-webkit package ~40 MB) or
# the newer, chromium-based Qt WebEngine module (in qt5-webengine package ~100 MB)
_webviewprovider=qt5-webkit
pkgname=tageditor-git
pkgver=1.1.5
pkgrel=5
arch=('i686' 'x86_64')
pkgdesc="Library for reading and editing meta-data of several media formats."
license=('GPL')
depends=('qt5-script' $_webviewprovider 'qtutilities' 'tagparser')
makedepends=('qt5-tools')
provides=('tageditor')
conflicts=('tageditor')
install=${pkgname}.install
url="https://github.com/Martchus/tageditor"
source=("${pkgname}::git://github.com/Martchus/tageditor.git")
_reponame=tageditor
sha256sums=('skip')
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
cfg=()
if [[ _webviewprovider == qt5-webkit ]]; then
cfg+=(forcewebkit)
fi
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" $(for val in "${cfg[@]}"; do echo -n "CONFIG+=$val "; done)
make
}
package() {
cd "${srcdir}/${pkgname}"
make install
}

View File

@ -5,7 +5,7 @@ _name=tageditor
_webviewprovider=qt5-webkit _webviewprovider=qt5-webkit
pkgname=mingw-w64-tageditor pkgname=mingw-w64-tageditor
pkgver=1.1.5 pkgver=1.1.5
pkgrel=4 pkgrel=5
arch=('any') arch=('any')
pkgdesc="Library for reading and editing meta-data of several media formats (mingw-w64)." pkgdesc="Library for reading and editing meta-data of several media formats (mingw-w64)."
license=('GPL') license=('GPL')
@ -14,11 +14,9 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-tools')
url="https://github.com/Martchus/tageditor" url="https://github.com/Martchus/tageditor"
source=("tageditor-${pkgver}.tar.gz::https://github.com/Martchus/tageditor/archive/v${pkgver}.tar.gz") source=("tageditor-${pkgver}.tar.gz::https://github.com/Martchus/tageditor/archive/v${pkgver}.tar.gz")
_reponame=tageditor _reponame=tageditor
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
cfg=(mingw-w64-{install,manualstrip-exe,noversion}) cfg=(mingw-w64-{install,manualstrip-exe,noversion})

View File

@ -1,6 +1,6 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
pkgname=tagparser pkgname=tagparser
pkgver=1.1.5 pkgver=2.0.0
pkgrel=1 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc="Library for reading and editing meta-data of several media formats." pkgdesc="Library for reading and editing meta-data of several media formats."
@ -10,13 +10,11 @@ makedepends=('qt5-base')
url="https://github.com/Martchus/tagparser" url="https://github.com/Martchus/tagparser"
source=("tagparser-${pkgver}.tar.gz::https://github.com/Martchus/tagparser/archive/v${pkgver}.tar.gz") source=("tagparser-${pkgver}.tar.gz::https://github.com/Martchus/tagparser/archive/v${pkgver}.tar.gz")
_reponame=tagparser _reponame=tagparser
sha256sums=('0e2db5af62634a9484f22721040c2e20') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

31
tagparser/git/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=tagparser-git
pkgver=2.0.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Library for reading and editing meta-data of several media formats."
license=('GPL')
depends=('c++utilities')
makedepends=('qt5-base')
provides=('videodownloader')
conflicts=('videodownloader')
url="https://github.com/Martchus/tagparser"
source=("${pkgname}::git://github.com/Martchus/tagparser.git")
_reponame=tagparser
sha256sums=('skip')
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "${srcdir}/${pkgname}"
make install
}

View File

@ -1,7 +1,7 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
_name=tagparser _name=tagparser
pkgname=mingw-w64-tagparser pkgname=mingw-w64-tagparser
pkgver=1.1.5 pkgver=2.0.0
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
pkgdesc="Library for reading and editing meta-data of several media formats (mingw-w64)." pkgdesc="Library for reading and editing meta-data of several media formats (mingw-w64)."
@ -11,18 +11,16 @@ makedepends=('mingw-w64-gcc' 'mingw-w64-qt5-base')
url="https://github.com/Martchus/tagparser" url="https://github.com/Martchus/tagparser"
source=("tagparser-${pkgver}.tar.gz::https://github.com/Martchus/tagparser/archive/v${pkgver}.tar.gz") source=("tagparser-${pkgver}.tar.gz::https://github.com/Martchus/tagparser/archive/v${pkgver}.tar.gz")
_reponame=tagparser _reponame=tagparser
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
options=('staticlibs' '!strip') options=('staticlibs' '!strip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build utilities for each architecture # build utilities 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} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion
make make
popd popd
done done

View File

@ -9,13 +9,11 @@ makedepends=
url="https://github.com/Martchus/tasky-client" url="https://github.com/Martchus/tasky-client"
source=("tasky-client-${pkgver}.tar.gz::https://github.com/Martchus/tasky-client/archive/v${pkgver}.tar.gz") source=("tasky-client-${pkgver}.tar.gz::https://github.com/Martchus/tasky-client/archive/v${pkgver}.tar.gz")
_reponame=tasky-client _reponame=tasky-client
sha256sums=('cee38afc5eb60b2da4eba64107628ed7') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

View File

@ -10,18 +10,16 @@ makedepends=('mingw-w64-gcc')
url="https://github.com/Martchus/tasky-client" url="https://github.com/Martchus/tasky-client"
source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/tasky-client/archive/v${pkgver}.tar.gz") source=("qtutilities-${pkgver}.tar.gz::https://github.com/Martchus/tasky-client/archive/v${pkgver}.tar.gz")
_reponame=tasky-client _reponame=tasky-client
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
options=('staticlibs' '!strip') options=('staticlibs' '!strip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build utilities for each architecture # build utilities 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} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion
make make
popd popd
done done
@ -29,11 +27,9 @@ build() {
package() { package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
for _arch in ${_architectures}; do for _arch in ${_architectures}; do
# bin stuff
pushd build-${_arch} pushd build-${_arch}
strip --strip-unneeded ./release/${_name}.exe make install
install -m755 -D ./release/${_name}.exe $pkgdir/usr/${_arch}/bin/${_name}.exe popd
popd
done done
} }

View File

@ -9,13 +9,11 @@ makedepends=
url="https://github.com/Martchus/tasky-library" url="https://github.com/Martchus/tasky-library"
source=("tasky-lib-${pkgver}.tar.gz::https://github.com/Martchus/tasky-library/archive/v${pkgver}.tar.gz") source=("tasky-lib-${pkgver}.tar.gz::https://github.com/Martchus/tasky-library/archive/v${pkgver}.tar.gz")
_reponame='tasky-library' _reponame='tasky-library'
sha256sums=('cee38afc5eb60b2da4eba64107628ed7') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

View File

@ -10,18 +10,16 @@ makedepends=('mingw-w64-gcc')
url="https://github.com/Martchus/tasky-library" url="https://github.com/Martchus/tasky-library"
source=("tasky-library-${pkgver}.tar.gz::https://github.com/Martchus/tasky-library/archive/v${pkgver}.tar.gz") source=("tasky-library-${pkgver}.tar.gz::https://github.com/Martchus/tasky-library/archive/v${pkgver}.tar.gz")
_reponame='tasky-library' _reponame='tasky-library'
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
options=('staticlibs' '!strip') options=('staticlibs' '!strip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build utilities for each architecture # build utilities 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} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion
make make
popd popd
done done
@ -29,11 +27,9 @@ build() {
package() { package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
for _arch in ${_architectures}; do for _arch in ${_architectures}; do
# bin stuff
pushd build-${_arch} pushd build-${_arch}
strip --strip-unneeded ./release/${_name}.exe make install
install -m755 -D ./release/${_name}.exe $pkgdir/usr/${_arch}/bin/${_name}.exe popd
popd
done done
} }

View File

@ -9,13 +9,11 @@ makedepends=
url="https://github.com/Martchus/tasky-server" url="https://github.com/Martchus/tasky-server"
source=("tasky-server-${pkgver}.tar.gz::https://github.com/Martchus/tasky-server/archive/v${pkgver}.tar.gz") source=("tasky-server-${pkgver}.tar.gz::https://github.com/Martchus/tasky-server/archive/v${pkgver}.tar.gz")
_reponame=tasky-server _reponame=tasky-server
sha256sums=('cee38afc5eb60b2da4eba64107628ed7') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }
@ -23,4 +21,3 @@ package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
make install make install
} }

View File

@ -10,18 +10,16 @@ makedepends=('mingw-w64-gcc')
url="https://github.com/Martchus/tasky-library" url="https://github.com/Martchus/tasky-library"
source=("tasky-server-${pkgver}.tar.gz::https://github.com/Martchus/tasky-server/archive/v${pkgver}.tar.gz") source=("tasky-server-${pkgver}.tar.gz::https://github.com/Martchus/tasky-server/archive/v${pkgver}.tar.gz")
_reponame=tasky-server _reponame=tasky-server
sha256sums=('4e94aff9225d8873f752995c1bcc5f15') sha256sums=('skip')
options=('staticlibs' '!strip') options=('staticlibs' '!strip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
# build utilities for each architecture # build utilities 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} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-dll CONFIG+=mingw-w64-noversion
make make
popd popd
done done
@ -29,11 +27,9 @@ build() {
package() { package() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
for _arch in ${_architectures}; do for _arch in ${_architectures}; do
# bin stuff
pushd build-${_arch} pushd build-${_arch}
strip --strip-unneeded ./release/${_name}.exe make install
install -m755 -D ./release/${_name}.exe $pkgdir/usr/${_arch}/bin/${_name}.exe popd
popd
done done
} }

View File

@ -1,7 +1,7 @@
# Maintainer: Martchus <martchus@gmx.net> # Maintainer: Martchus <martchus@gmx.net>
pkgname=videodownloader pkgname=videodownloader
pkgver=1.0.7 pkgver=1.0.7
pkgrel=2 pkgrel=3
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained)." pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained)."
license=('GPL') license=('GPL')
@ -11,13 +11,11 @@ install=${pkgname}.install
url="https://github.com/Martchus/videodownloader" url="https://github.com/Martchus/videodownloader"
source=("videodownloader-${pkgver}.tar.gz::https://github.com/Martchus/videodownloader/archive/v${pkgver}.tar.gz") source=("videodownloader-${pkgver}.tar.gz::https://github.com/Martchus/videodownloader/archive/v${pkgver}.tar.gz")
_reponame=videodownloader _reponame=videodownloader
sha256sums=('9e3802e4ed47a4efb2d4f8a6ed5daf3e') sha256sums=('skip')
# head end
build() { build() {
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}" cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make make
} }

View File

@ -0,0 +1,32 @@
# Maintainer: Martchus <martchus@gmx.net>
pkgname=videodownloader-git
pkgver=1.0.7
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained)."
license=('GPL')
depends=('qtutilities' 'openssl')
makedepends=('qt5-tools')
provides=('videodownloader')
conflicts=('videodownloader')
install=${pkgname}.install
url="https://github.com/Martchus/videodownloader"
source=("${pkgname}::git://github.com/Martchus/videodownloader.git")
_reponame=videodownloader
sha256sums=('skip')
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
make
}
package() {
cd "${srcdir}/${pkgname}"
make install
}

View File

@ -2,7 +2,7 @@
_name=videodownloader _name=videodownloader
pkgname=mingw-w64-videodownloader pkgname=mingw-w64-videodownloader
pkgver=1.0.7 pkgver=1.0.7
pkgrel=2 pkgrel=3
arch=('any') arch=('any')
pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained, mingw-w64)." pkgdesc="A video downloader with Qt GUI (currently only YouTube is maintained, mingw-w64)."
license=('GPL') license=('GPL')
@ -11,17 +11,15 @@ makedepends=('mingw-w64-gcc')
url="https://github.com/Martchus/videodownloader" url="https://github.com/Martchus/videodownloader"
source=("videodownloader-${pkgver}.tar.gz::https://github.com/Martchus/videodownloader/archive/v${pkgver}.tar.gz") source=("videodownloader-${pkgver}.tar.gz::https://github.com/Martchus/videodownloader/archive/v${pkgver}.tar.gz")
_reponame=videodownloader _reponame=videodownloader
md5sums=('4e94aff9225d8873f752995c1bcc5f15') md5sums=('skip')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
# head end
build() { build() {
cd $srcdir/$_name cd $srcdir/$_name
# build utilities for each architecture # build utilities 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} ${_arch}-qmake-qt5 -r ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion INSTALL_ROOT=$pkgdir/usr/${_arch} ${_arch}-qmake-qt5 ../${_name}.pro CONFIG+=mingw-w64-install CONFIG+=mingw-w64-manualstrip-exe CONFIG+=mingw-w64-noversion
make make
popd popd
done done