blob: f202b96d9e78d8b2dd6046872bbdcb18a64e1b62 (
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
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
# Contributor: kusakata (https://aur.archlinux.org/account/kusakata)
pkgname=libzc
pkgver=0.4.3
pkgrel=2
pkgdesc="Tool and library for cracking zip files"
url="https://github.com/mferland/libzc"
license=('GPL-3.0-or-later')
arch=('x86_64')
depends=(
'gcc-libs'
'glibc'
'zlib'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mferland/libzc/archive/v${pkgver}.tar.gz")
sha256sums=('2c426bf5578b5ea5014ee0f75e52698ec648d426f8983b090342b566dcebf15b')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
./autogen.sh
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--enable-year2038
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" install
}
|