summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4649943a76a7411089d736addb678a32b52e2dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>

pkgname=minizip-git
_pkgname=minizip
epoch=2
pkgver=2.3.3
pkgrel=1
arch=('x86_64')
license=('custom')
url="https://github.com/nmoinvaz/minizip"
depends=('glibc' 'libbsd' 'zlib')
makedepends=('git' 'cmake')
conflicts=('minizip')
source=("git+https://github.com/nmoinvaz/minizip.git#commit=7bdfbf4")
sha256sums=('SKIP')

build() {
    cd ${srcdir}/${_pkgname}
    cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_INSTALL_LIBDIR=lib \
        -DBUILD_SHARED_LIBS=ON .
    make
}

package() {
    cd ${_pkgname}
    make DESTDIR="${pkgdir}" install
}