summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fbd6ece4542b430e8cfec743263c38b5560b56ef (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
# Contributor: Ross Gauchemann <hurrr@yahoo.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=a2png
pkgver=0.1.5
pkgrel=5
pkgdesc="Converts text into bitmap images such as PNG."
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/a2png/files/"
license=('GPL2')
depends=('cairo')
source=(https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
sha256sums=('d3ae1c771f5180d93f35cded76d9bb4c4cc2023dbe65613e78add3eeb43f736b')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr \
	      --with-cairo-include=/usr/include/cairo \
	      --with-cairo-lib=/usr/lib/
  make
}

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