summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a73ee24612c6298b6fd559e9c84044ae9663e135 (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: tarball <bootctl@gmail.com>
# Contributor: Kyle Keen <keenerd@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: arjan <arjan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=ucl
pkgver=1.03
pkgrel=9
pkgdesc="Portable lossless data compression library written in ANSI C"
url='https://www.oberhumer.com/opensource/ucl'
arch=('x86_64' 'aarch64' 'riscv64')
license=('GPL-2.0-only')
depends=('glibc')
source=("https://www.oberhumer.com/opensource/$pkgname/download/$pkgname-$pkgver.tar.gz")
sha256sums=('b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348')

build() {
  cd "$pkgname-$pkgver"
  CFLAGS+=" -std=gnu90 -fPIC"
  ./configure --prefix=/usr --enable-shared --disable-static
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}