blob: 9b2557cb8460d6d79bb15474971cf06b006a9fc4 (
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
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=scrot
pkgver=0.9.1
pkgrel=0
pkgdesc="Simple command-line screenshot utility for X"
options="!check" # No testsuite
url="https://tracker.debian.org/pkg/scrot"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
makedepends="giblib-dev imlib2-dev libx11-dev
automake libtool autoconf"
source="http://http.debian.net/debian/pool/main/s/$pkgname/${pkgname}_${pkgver%.*}.orig.tar.gz
http://http.debian.net/debian/pool/main/s/$pkgname/${pkgname}_${pkgver%.*}-${pkgver##*.}.debian.tar.xz"
builddir="$srcdir/$pkgname-${pkgver%.*}"
prepare() {
default_prepare
autoreconf -fi
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man
make
}
package() {
make DESTDIR="$pkgdir" docsdir=/usr/share/doc/scrot install
}
sha512sums="e449b951fcbe2124fe874e5516d397a2d7ebb99ec8fceeb30c55cbee2596dec39ef5dff9db9acf1ff2930bc3752d4c1c1fbe0a28bc284481676370f330046f7b scrot_0.9.orig.tar.gz
fbd33ae9b6c500b000baf01564d912ea05185651d9eac8e052c945aa7c03b11b550fbaafa0a655d499028e653b6517220f16a514613853e37cda8009b4b79db4 scrot_0.9-1.debian.tar.xz"
|