summaryrefslogtreecommitdiff
path: root/community/paps/PKGBUILD
blob: e5d0721de4ae482f57d13bb76df5eef8b18e0a8f (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
# $Id: PKGBUILD 93533 2013-07-05 01:34:25Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Artyom 'logus' Pervukhin <logus9@gmail.com>
# Contributor: Tim Yang <tdy@gmx.com>

pkgname=paps
pkgver=0.6.8
pkgrel=5
pkgdesc='UTF-8 to PostScript converter via Pango'
url='http://paps.sourceforge.net/'
license=('LGPL')
depends=('pango')
arch=('i686' 'x86_64')
source=("http://downloads.sourceforge.net/paps/paps-${pkgver}.tar.gz")
sha1sums=('83646b0de89deb8321f260c2c5a665bc7c8f5928')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	export LDFLAGS=${LDFLAGS/,--as-needed/}
	./configure --prefix=/usr --mandir=/usr/share/man --disable-static
	make
}

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