aboutsummaryrefslogtreecommitdiffstats
path: root/main/xfce4-screenshooter/APKBUILD
blob: f655de5cfd2cafed41bb15c8efbad5236884fcce (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-screenshooter
pkgver=1.8.2
pkgrel=1
pkgdesc="screenshot application for Xfce4"
url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
arch="all"
license="GPL2"
subpackages="$pkgname-doc $pkgname-lang"
depends=
makedepends="xfce4-panel-dev hicolor-icon-theme libsoup-dev libxfce4ui-dev
	exo-dev libxext-dev"
install=
source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.bz2
	xfce4-screenshooter-1.7.9-dsofix.patch"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/xfce4/panel/plugins/*.la
}

md5sums="3a32ecc5566453a58f6a4ddd70649444  xfce4-screenshooter-1.8.2.tar.bz2
a8a30afa060e0f65cbc8a0809f2d8c31  xfce4-screenshooter-1.7.9-dsofix.patch"
sha256sums="9dce2ddfaa87f703e870e29bae13f3fc82a1b3f06b44f8386640e45a135f5f69  xfce4-screenshooter-1.8.2.tar.bz2
7173fb4f70a07343ea5c5f3301f749d5d42ddca173621bb52fb70d959e043b64  xfce4-screenshooter-1.7.9-dsofix.patch"
sha512sums="e43dce108c7bacfeebdc39b0c9948b348c77faf358fb0ab5f26d59c96980f1c5473ef87895fe53387340202813935ddad6e200010e61aa27c2c56b662ee56b1e  xfce4-screenshooter-1.8.2.tar.bz2
e2ac3e4c068874c5e3a4631fb9887c3aa1251b282ff422aa02c68424f8557967d213fa23660c08e0c44b394c162e23a51ade2f76f1b758eb78dc3da7986704bb  xfce4-screenshooter-1.7.9-dsofix.patch"