blob: b7561740f01664323f80d8b32b88fc52b73e1b17 (
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.5.3
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=('5e32291c4c722e877b94eddbc97bc53b')
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"
}
|