updated PKGBUILD files
This commit is contained in:
parent
d21e6a9657
commit
f4c2568765
|
@ -10,17 +10,18 @@ depends=('qt5-base')
|
||||||
makedepends=
|
makedepends=
|
||||||
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
|
||||||
sha256sums=('4e94aff9225d8873f752995c1bcc5f15')
|
sha256sums=('4e94aff9225d8873f752995c1bcc5f15')
|
||||||
|
|
||||||
# head end
|
# head end
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname
|
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" -r -spec linux-g++
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $srcdir/$pkgname
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
||||||
make install
|
make install
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
||||||
# head end
|
# head end
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$_name
|
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}
|
||||||
|
@ -28,7 +28,7 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $srcdir/$_name
|
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
||||||
for _arch in ${_architectures}; do
|
for _arch in ${_architectures}; do
|
||||||
# bin stuff
|
# bin stuff
|
||||||
pushd build-${_arch}
|
pushd build-${_arch}
|
||||||
|
|
Loading…
Reference in New Issue