[arch-commits] Commit in gimmage/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Fri May 30 11:54:04 UTC 2014
Date: Friday, May 30, 2014 @ 13:54:03
Author: spupykin
Revision: 112232
upgpkg: gimmage 0.2.3-5
upd
Modified:
gimmage/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-30 11:11:16 UTC (rev 112231)
+++ PKGBUILD 2014-05-30 11:54:03 UTC (rev 112232)
@@ -5,7 +5,7 @@
pkgname=gimmage
pkgver=0.2.3
-pkgrel=4
+pkgrel=5
pkgdesc="A gtkmm image viewer"
arch=('i686' 'x86_64')
url="http://gimmage.berlios.de"
@@ -16,12 +16,17 @@
source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('f51cca53b3d33415e75a91cf81b6ac39')
-build() {
+prepare() {
cd $srcdir/$pkgname-$pkgver
rm gimmage.desktop
sed -i 's|Exec=@prefix@/bin/gimmage|Exec=@prefix@/bin/gimmage %U|' gimmage.desktop.in
+ sed -i '1,1i#include <string.h>' src/FileManager.cpp
+ sed -i '1,1i#include <unistd.h>' src/FileManager.cpp
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
- sed -i '1,1i#include <string.h>' src/FileManager.cpp
make
}
More information about the arch-commits
mailing list