aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-screenshooter/APKBUILD
blob: 5f6c40e0e69feff44e86dbe8ede031b70e52becc (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-screenshooter
pkgver=1.9.2
pkgrel=0
pkgdesc="screenshot application for Xfce4"
url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
arch="all"
license="GPL-2.0"
subpackages="$pkgname-doc $pkgname-lang"
makedepends="xfce4-panel-dev hicolor-icon-theme libsoup-dev libxfce4ui-dev
	exo-dev libxext-dev"
source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	xfce4-screenshooter-1.7.9-dsofix.patch"

builddir="$srcdir/$pkgname-$pkgver"

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
	make
}

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

sha512sums="fb60fe89a620122e59352154dbcace8f3e3a2f2f3f2d6cfff521651f4dc021241e9b370f7929fca55b36bbb13ed3ae0c4393a621291b51e451bc2e57b1a798c8  xfce4-screenshooter-1.9.2.tar.bz2
e2ac3e4c068874c5e3a4631fb9887c3aa1251b282ff422aa02c68424f8557967d213fa23660c08e0c44b394c162e23a51ade2f76f1b758eb78dc3da7986704bb  xfce4-screenshooter-1.7.9-dsofix.patch"