blob: facddfc04d396f2cacf852fc30399df300fc89c8 (
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
|
# Maintainer: Jake Leahy <jake (at) leahy (dot) dev
pkgname=pdfio
pkgver=1.3.2
pkgrel=1
pkgdesc="Simple C library for reading and writing PDF files"
arch=('x86_64' 'aarch64')
url="https://github.com/michaelrsweet/pdfio"
license=('Apache')
depends=('zlib')
source=("pdfio-$pkgver.tar.gz::https://github.com/michaelrsweet/pdfio/releases/download/v$pkgver/pdfio-$pkgver.tar.gz")
md5sums=('dc87a7ad1c41f900abf5d6b52a5932d7')
build() {
cd pdfio-$pkgver
./configure --enable-shared
make
}
package() {
cd pdfio-$pkgver
make install DESTDIR="$pkgdir" prefix=/usr
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/pdfio/LICENSE"
}
|