summaryrefslogtreecommitdiffstats
path: root/main/xfce4-screenshooter/APKBUILD
blob: 0e3bd93157aa04e825706ff9d249edb9eb52911b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-screenshooter
pkgver=1.7.9
pkgrel=1
pkgdesc="screenshot application for Xfce4"
url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
arch="all"
license="GPL2"
subpackages="$pkgname-doc"
depends=
makedepends="xfce4-panel-dev intltool hicolor-icon-theme libsm-dev
	e2fsprogs-dev libsoup-dev libxext-dev libxfcegui4-dev"
install="xfce4-screenshooter.post-install xfce4-screenshooter.post-upgrade
	xfce4-screenshooter.post-deinstall"
source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.bz2"

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="c01d1cf3830bf8d60e09c0cdd223034c  xfce4-screenshooter-1.7.9.tar.bz2"