blob: 6e10c8a0cb537348a751c33dc05f5d17ddec956a (
plain) (
tree)
|
|
# Contributor: Nathan <ndowens@artixlinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=scrot
pkgver=1.7
pkgrel=0
pkgdesc="Simple command-line screenshot utility for X"
options="!check" # No testsuite
url="https://github.com/resurrecting-open-source-projects/scrot"
arch="all"
license="MIT"
depends=""
makedepends="giblib-dev imlib2-dev libx11-dev libxfixes-dev libxcomposite-dev
automake libtool autoconf autoconf-archive-dev bsd-compat-headers
sed"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/resurrecting-open-source-projects/scrot/archive/$pkgver/$pkgname-$pkgver.tar.gz
docdir.patch
config.h
"
prepare() {
default_prepare
autoreconf -fiv
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man
cp $srcdir/config.h src/scrot_config.h
make
}
package() {
make DESTDIR="$pkgdir" docsdir=/usr/share/doc/scrot install
}
sha512sums="9f9a29b69e9c216bad7c6028fe0043b2729393a716dccc1389665cf1e9496a6f1d370b97a7c8432b31af7d69477b4fc1d41dffd4ca2a78a49bb98e908975612f scrot-1.7.tar.gz
709d7dca5c6d8df7671a143b48817bd839d3ee8a97ed4128ce45345b2f91e0fe9e8b76f7d7233c2fe79bd1eafff8c3a0ed1272c65b4c583ebb0b3b5483bd34a9 docdir.patch
95429feb7c107c5adeadf33b5a3e3ff9dc4fb95f0d58f92c6a8de27d776a07256fa9f1825896d569eb32beb77300f46995dcafd1359f305d22861eb5748de84a config.h"
|