blob: a72766a8a13ad13b75e8e4ee3163910451b0a813 (
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
|
# Contributor: Andreas B. Wagner <AndreasBWagner@gmail.com>
pkgname=svg2pdf-git
pkgver=r6.301dd48
pkgrel=1
pkgdesc="Conversion of SVGs to PDFs via cairo"
arch=('i686' 'x86_64')
url="http://cairographics.org/"
license=('custom')
depends=('librsvg>=2.0' 'cairo')
makedepends=('git')
provides=('svg2pdf')
source=("$pkgname::git://people.freedesktop.org/~cworth/svg2pdf")
md5sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $pkgname
make
}
package() {
cd $pkgname
install -Dm755 svg2pdf ${pkgdir}/usr/bin/svg2pdf
}
# vim:set ts=2 sw=2 et:
|