mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:38:28 +08:00
27 lines
695 B
Bash
27 lines
695 B
Bash
# $Id: PKGBUILD 77453 2010-04-13 12:26:29Z andrea $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=libzip
|
|
pkgver=0.9.3
|
|
pkgrel=1
|
|
pkgdesc="A C library for reading, creating, and modifying zip archives"
|
|
url="http://www.nih.at/libzip/index.html"
|
|
license=('GPL2')
|
|
arch=('i686' 'x86_64')
|
|
depends=('zlib')
|
|
options=('!libtool')
|
|
source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('e5fa5d0c5d2ad4c7a0c0fc7f5a1695b9')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|