summaryrefslogtreecommitdiff
path: root/extra/libgxps/PKGBUILD
blob: c1767ac9f450672c57b2f1c039541a78585afa1e (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
# $Id: PKGBUILD 156904 2012-04-23 09:08:44Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=libgxps
pkgver=0.2.2
pkgrel=1
pkgdesc="XPS Documents library"
arch=(i686 x86_64 'mips64el')
url="https://live.gnome.org/libgxps"
license=('GPL2')
depends=('cairo' 'libarchive' 'libjpeg-turbo' 'libtiff' 'lcms2')
options=(!libtool)
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
sha256sums=('39d104739bf0db43905c315de1d8002460f1a098576f4418f69294013a5820be')

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr \
    --disable-static
  make
}

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

# vim:set ts=2 sw=2 et: