aboutsummaryrefslogtreecommitdiffstats
path: root/community/dia/APKBUILD
blob: ec427b36a267aa0d62438b8d823b654184eb60ea (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
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dia
pkgver=0.97.3
pkgrel=1
pkgdesc="a GTK+ based diagram creation program"
url="http://live.gnome.org/Dia"
arch="all"
license="GPL-2.0-or-later"
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
	CVE-2019-19451.patch
	"

# secfixes:
#   0.97.3-r1:
#     - CVE-2019-19451.patch

build() {
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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

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