blob: d75aaaf9da4e00479de5a58c659be7de0976e9b9 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-screenshooter
pkgver=1.8.0
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
fs-25873-segfault-in-awesome-wm.patch
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 --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="b51ab5725418e7258273c4a6402adb02 xfce4-screenshooter-1.8.0.tar.bz2
18042622c40c37a13da958aee216cafb fs-25873-segfault-in-awesome-wm.patch
a8a30afa060e0f65cbc8a0809f2d8c31 xfce4-screenshooter-1.7.9-dsofix.patch"
|