# Maintainer: Jesus E. # Maintainter: Tobias Dausend pkgname=scrot pkgver=1.8.1 pkgrel=1 pkgdesc="Simple command-line screenshot utility for X" url='https://github.com/resurrecting-open-source-projects/scrot' arch=('i686' 'x86_64') license=('Expat') depends=('imlib2' 'libxext' 'libxinerama' 'libxfixes' 'libxcomposite' 'libbsd') makedepends=('autoconf-archive') source=("https://github.com/resurrecting-open-source-projects/scrot/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('9ab283c9554030250bc7f36885f1eb1ec52d3400e8e7d42b64abc2abaefc5c5073b84eaa9909ce843b5c5f0fd4e879e7f93e9ddc95d78b263abdf5d80ffb4d0d') prepare(){ cd $pkgname-$pkgver autoreconf -fiv } build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --mandir=/usr/share/man make } package() { cd $pkgname-$pkgver make DESTDIR="${pkgdir}" install install -Dm 644 README.md ChangeLog -t "${pkgdir}"/usr/share/doc/${pkgname} install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname} }