mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
quazip: update to 0.7.6
This commit is contained in:
parent
2d214397f8
commit
e5ff42536f
@ -1,8 +1,8 @@
|
|||||||
pkgname=quazip
|
pkgname=quazip
|
||||||
pkgver=0.7.3
|
pkgver=0.7.6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
|
pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
|
||||||
url="http://sourceforge.net/projects/quazip/"
|
url="https://stachenov.github.io/quazip/"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
depends=('qt5-base')
|
depends=('qt5-base')
|
||||||
@ -10,12 +10,20 @@ makedepends=('cmake')
|
|||||||
replaces=('quazip-qt4')
|
replaces=('quazip-qt4')
|
||||||
provides=('quazip-qt4')
|
provides=('quazip-qt4')
|
||||||
conflicts=('quazip-qt4')
|
conflicts=('quazip-qt4')
|
||||||
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
|
source=($pkgname-$pkgver.tar.gz::https://github.com/stachenov/$pkgname/archive/$pkgver.tar.gz)
|
||||||
sha1sums=('ed35d6a53d1ac78860bc058241e3e042c7cdb2ff')
|
sha256sums=('4118a830a375a81211956611cc34b1b5b4ddc108c126287b91b40c2493046b70')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
# Fix cmake module install dir
|
||||||
|
sed -e 's|${CMAKE_ROOT}/Modules|${CMAKE_INSTALL_PREFIX}/lib/cmake/QuaZip|' -i $pkgname-$pkgver/CMakeLists.txt
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgbase-$pkgver
|
cd "${srcdir}"
|
||||||
cmake \
|
|
||||||
|
install -d build
|
||||||
|
cd build
|
||||||
|
cmake ../$pkgname-$pkgver \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DBUILD_WITH_QT4:BOOL=OFF \
|
-DBUILD_WITH_QT4:BOOL=OFF \
|
||||||
-DCMAKE_CXX_FLAGS="$CFLAGS -fPIC"
|
-DCMAKE_CXX_FLAGS="$CFLAGS -fPIC"
|
||||||
@ -23,6 +31,8 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $pkgbase-$pkgver
|
cd "${srcdir}"
|
||||||
|
|
||||||
|
cd build
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user