archrelease: copy trunk to community-any
[ArchLinux/community.git] / maim / trunk / PKGBUILD
blob63e90c70aa8968aefcb3ebf4090db29b0ebe616f
1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: BartÅ‚omiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: naelstrof <naelstrof@gmail.com>
5 pkgname=maim
6 pkgver=5.7.4
7 pkgrel=5
8 pkgdesc='Utility to take a screenshot using imlib2'
9 arch=('x86_64')
10 url='https://github.com/naelstrof/maim'
11 license=('GPL3')
12 depends=('freetype2' 'libpng' 'libjpeg-turbo' 'libwebp' 'libx11' 'libxcomposite' 'libxext' 'libxfixes' 'libxrandr' 'slop')
13 makedepends=('cmake' 'glm')
14 source=("${pkgname}-${pkgver}.tar.gz"::"$url/archive/v${pkgver}.tar.gz")
15 sha256sums=('075090fd4c3b87663a26d0c2de63b5c822fd96aaeef6ac4fe6ded3abd506be9e')
17 build() {
18   cd "$pkgname-$pkgver"
19   cmake -DCMAKE_INSTALL_PREFIX=/usr .
20   make
23 package() {
24   make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install