blob: 106acc432a1d2a1ada8b555f282b7ab4a504093f (
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.4.1
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=('0e27858e12939586a37d2d089e086fb4')
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"
}
|