updated PKGBUILD files
This commit is contained in:
parent
9ed979b37c
commit
ce28c9a9ce
|
@ -9,17 +9,18 @@ makedepends=('qt5-base')
|
|||
install=
|
||||
url="https://github.com/Martchus/passwordfile"
|
||||
source=("passwordfile-${pkgver}.tar.gz::https://github.com/Martchus/passwordfile/archive/v${pkgver}.tar.gz")
|
||||
_reponame=passwordfile
|
||||
sha256sums=('d359927292464fcf41c8a11315ff79e2')
|
||||
|
||||
# head end
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname
|
||||
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
||||
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname
|
||||
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
||||
make install
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@ depends=('mingw-w64-crt' 'mingw-w64-c++utilities' 'mingw-w64-openssl')
|
|||
makedepends=('mingw-w64-gcc')
|
||||
url="https://github.com/Martchus/passwordfile"
|
||||
source=("passwordfile-${pkgver}.tar.gz::https://github.com/Martchus/passwordfile/archive/v${pkgver}.tar.gz")
|
||||
_reponame=passwordfile
|
||||
sha256sums=('4e94aff9225d8873f752995c1bcc5f15')
|
||||
options=('staticlibs' '!strip')
|
||||
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
||||
|
@ -16,7 +17,7 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
|||
# head end
|
||||
|
||||
build() {
|
||||
cd $srcdir/$_name
|
||||
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
||||
# build for each architecture
|
||||
for _arch in ${_architectures}; do
|
||||
mkdir -p build-${_arch} && pushd build-${_arch}
|
||||
|
@ -27,7 +28,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$_name
|
||||
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
|
||||
for _arch in ${_architectures}; do
|
||||
# bin stuff
|
||||
pushd build-${_arch}
|
||||
|
|
Loading…
Reference in New Issue