summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf0c36cee2e8ba36056881f5c4ec5bded402077d (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
# Maintainer: Stefan Husmann <stefan dot husmann at t minus online dot de>

pkgname=svg2png
pkgver=0.1.3
pkgrel=7
pkgdesc="Conversion of SVGs to PNGs via cairo"
url="http://cairographics.org/"
license=('custom')
depends=('libsvg-cairo')
arch=('i686' 'x86_64')
source=("https://cairographics.org/snapshots/$pkgname-$pkgver.tar.gz")
sha256sums=('e658fde141eb7ce981ad63d319339be5fa6d15e495d1315ee310079cbacae52b')

build() {
  cd $pkgname-$pkgver
  unset LDFLAGS
  ./configure --prefix=/usr --mandir=/usr/share/man
  sed -i "s/-Wl,--as-needed//g" src/Makefile 
  make 
}
package() {
  cd $pkgname-$pkgver
  make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install
  install -Dm644 COPYING \
    "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}