blob: 3bd2185a69c98758dcdcfca66798a9b93c97ca1c (
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
|
# Maintainer: Skunnyk <skunnyk@archlinux.fr>
# Maintainer: Andre Miranda <andreldm at xfce dot org>
pkgname=xfce4-screenshooter-git
pkgver=1.10.5.r50.g2a7d7de
pkgrel=1
pkgdesc="Plugin that makes screenshots for the Xfce panel."
arch=('i686' 'x86_64')
url="https://docs.xfce.org/apps/screenshooter/start"
license=('GPL2')
groups=('xfce4-goodies')
depends=('xfce4-panel' 'libsoup')
makedepends=('xfce4-dev-tools' 'intltool' 'git')
provides=('xfce4-screenshooter')
conflicts=('xfce4-screenshooter')
install=$pkgname.install
source=($pkgname::git+https://gitlab.xfce.org/apps/xfce4-screenshooter.git)
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long | sed -r 's/^xfce4-screenshooter-//;s/([^-]*-g)/r\1/;s/-/./g'
}
prepare () {
cd "$srcdir/$pkgname"
git submodule update --init
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static \
--disable-debug
}
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
}
|