summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c54db7314c96aa8b5d9a9e86649c422dadd05cbc (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
# Maintainer: 0x9fff00 <0x9fff00+git@protonmail.ch>
# Contributor: sunflsks <sudhip@nashi.us>

pkgname=libfragmentzip
pkgver=76
pkgrel=1
pkgdesc='A library allowing to download single files from a remote zip archive'
arch=('x86_64')
url="https://github.com/tihmstar/$pkgname"
license=('LGPL-3.0-only')
depends=('curl' 'zlib')
makedepends=('git' 'libgeneral')
source=("git+$url.git#tag=$pkgver")
sha256sums=('05b298c2e6d0f505dde8c411a1aa35ff6e9eef8d8cd74c00e1cbbd12000c9054')

build() {
  cd "$pkgname"

  ./autogen.sh --prefix=/usr
  make
}

package() {
  cd "$pkgname"

  make DESTDIR="$pkgdir/" install
}