summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9299d9bbf803f02b74ca1c780b217765c3d6f730 (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
29
30
# Maintainer: Your Name <max at maxbruckner dot de>
pkgname=gtk-vector-screenshot
pkgver=0.3.2.1.2
pkgrel=2
epoch=
pkgdesc="A GTK module for taking vector graphic screenshots (PDF, SVG and PostScript)"
arch=("i686" "x86_64")
url="https://github.com/nomeata/gtk-vector-screenshot"
license=('LGPL2.1')
depends=("gtk2" "gtk3" "xorg-server")
makedepends=("git")
source=("git+https://github.com/nomeata/gtk-vector-screenshot#commit=4d5addb")
sha512sums=('SKIP')

prepare() {
	cd "$pkgname"
	autoreconf -vif
}

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

package() {
	cd "$pkgname"
	make DESTDIR="$pkgdir/" install
	install -D 52load-gtk-vector-screenshot-gtk-module "$pkgdir/etc/X11/xinit/xinitrc.d/52load-gtk-vector-screenshot-gtk-module"
}