aboutsummaryrefslogtreecommitdiffstats
path: root/community/dia/APKBUILD
blob: 2b0fff5b2e225ad366d324469dec428fa4846bac (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
31
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dia
pkgver=0.97.3
pkgrel=0
pkgdesc="a GTK+ based diagram creation program"
url="http://live.gnome.org/Dia"
arch="all"
license="GPL-2.0"
makedepends="gtk+2.0-dev libxml2-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/dia/${pkgver%.*}/dia-$pkgver.tar.xz
	isinf.patch
	dia-unregister-import.patch
	"

builddir="$srcdir"/dia-$pkgver
build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="34298980be930b87cb4a636344e4cb2a7e43eedc00b0969a5e446cee9b74b616fdc8c798efcb9a5832b98741f2e20632a44037b2bcb436f59591d531ef441efa  dia-0.97.3.tar.xz
cfa8fd8fecc7f0e3da185b512c169b156363a73c151547725f964e1cf7b1a305e44c493d0490c680c5f25859acee74fe4ef942ae9ee634b370bd9b9952186c5a  isinf.patch
24267507ff08ac589ec1015e55637586a9fd97802893a77849d1e7bce67135fbd3d55611e2c80be1d5f87b92406c95cd5fe484175037297ebe1dbc8eb509a7d4  dia-unregister-import.patch"