[arch-commits] Commit in maim/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Thu Oct 23 19:38:27 UTC 2014


    Date: Thursday, October 23, 2014 @ 21:38:27
  Author: bpiotrowski
Revision: 121324

upgpkg: maim 2.3.30-1

new upstream release

Modified:
  maim/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-23 19:33:53 UTC (rev 121323)
+++ PKGBUILD	2014-10-23 19:38:27 UTC (rev 121324)
@@ -3,7 +3,7 @@
 # Contributor: naelstrof <naelstrof at gmail.com>
 
 pkgname=maim
-pkgver=2.3.17
+pkgver=2.3.30
 pkgrel=1
 pkgdesc='Utility to take a screenshot using imlib2'
 arch=('i686' 'x86_64')
@@ -10,14 +10,17 @@
 url='https://github.com/naelstrof/maim'
 license=('GPL3')
 depends=('freetype2' 'imlib2' 'libx11' 'libxext' 'libxfixes' 'libxrandr')
+makedepends=('cmake')
 optdepends=('slop: region selection support')
 source=($url/archive/v$pkgver.tar.gz)
-md5sums=('afeeed04ef6fd4690d72fca0e8165dec')
+md5sums=('61e13734d0d8aef6bba3da1c516b1d09')
 
 build() {
-    make -C $pkgname-$pkgver
+  cd $pkgname-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr/bin .
+  make
 }
 
 package() {
-    make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list