[arch-commits] Commit in maim/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Oct 22 22:26:43 UTC 2018
Date: Monday, October 22, 2018 @ 22:26:43
Author: felixonmars
Revision: 398546
archrelease: copy trunk to community-staging-x86_64
Added:
maim/repos/community-staging-x86_64/
maim/repos/community-staging-x86_64/PKGBUILD
(from rev 398545, maim/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: maim/repos/community-staging-x86_64/PKGBUILD (from rev 398545, maim/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-10-22 22:26:43 UTC (rev 398546)
@@ -0,0 +1,25 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: naelstrof <naelstrof at gmail.com>
+
+pkgname=maim
+pkgver=5.5.2
+pkgrel=3
+pkgdesc='Utility to take a screenshot using imlib2'
+arch=('x86_64')
+url='https://github.com/naelstrof/maim'
+license=('GPL3')
+depends=('freetype2' 'libpng' 'libjpeg-turbo' 'libx11' 'libxcomposite' 'libxext' 'libxfixes' 'libxrandr' 'slop')
+makedepends=('cmake' 'glm')
+source=("${pkgname}-${pkgver}.tar.gz"::"$url/archive/v${pkgver}.tar.gz")
+md5sums=('72cebb63ca6f57be5ca5e52a4e10a05e')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list