mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 17:33:20 +08:00
quazip: update to 0.7.6
This commit is contained in:
parent
2d214397f8
commit
e5ff42536f
@ -1,8 +1,8 @@
|
||||
pkgname=quazip
|
||||
pkgver=0.7.3
|
||||
pkgver=0.7.6
|
||||
pkgrel=1
|
||||
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')
|
||||
arch=('x86_64')
|
||||
depends=('qt5-base')
|
||||
@ -10,12 +10,20 @@ makedepends=('cmake')
|
||||
replaces=('quazip-qt4')
|
||||
provides=('quazip-qt4')
|
||||
conflicts=('quazip-qt4')
|
||||
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
|
||||
sha1sums=('ed35d6a53d1ac78860bc058241e3e042c7cdb2ff')
|
||||
source=($pkgname-$pkgver.tar.gz::https://github.com/stachenov/$pkgname/archive/$pkgver.tar.gz)
|
||||
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() {
|
||||
cd $pkgbase-$pkgver
|
||||
cmake \
|
||||
cd "${srcdir}"
|
||||
|
||||
install -d build
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_WITH_QT4:BOOL=OFF \
|
||||
-DCMAKE_CXX_FLAGS="$CFLAGS -fPIC"
|
||||
@ -23,6 +31,8 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgbase-$pkgver
|
||||
cd "${srcdir}"
|
||||
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user