aboutsummaryrefslogblamecommitdiffstats
path: root/community/scrot/APKBUILD
blob: 44edfbc850142ca82e1f1f70472770de1bf51765 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   

                                                   
          
        
                                                      
                               
                                                                
          

                          


                                                                                                                   
 
           

                       
 
 
         



                                 

                                       


           
                                                                   
 
 
                                                                                                                                                               
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=scrot
pkgver=1.2
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"
subpackages="$pkgname-doc"
makedepends="giblib-dev imlib2-dev libx11-dev libxfixes-dev libxcursor-dev
	automake libtool autoconf autoconf-archive"
source="$pkgname-$pkgver.tar.gz::https://github.com/resurrecting-open-source-projects/scrot/archive/$pkgver.tar.gz"

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="b89e7a94e6317fdb7bd260190c6d68a2dfefc08691b4574337afdfff84f55b8b9c955a6ac60642ae9749c1deaa16bee7b855fbd15833a95f602536693daf8c37  scrot-1.2.tar.gz"