summaryrefslogtreecommitdiff
path: root/extra/emelfm2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-29 03:34:34 +0000
committerroot <root@rshg054.dnsready.net>2012-02-29 03:34:34 +0000
commit32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (patch)
tree60ba7e9c94b5ea69643a2022cd2ff890958da0f9 /extra/emelfm2
parent1f567a9d58d16b76320168f0624aa55bd6320284 (diff)
Wed Feb 29 03:34:34 UTC 2012
Diffstat (limited to 'extra/emelfm2')
-rw-r--r--extra/emelfm2/PKGBUILD11
-rw-r--r--extra/emelfm2/emelfm2-0.8.0-dsofix.patch11
2 files changed, 18 insertions, 4 deletions
diff --git a/extra/emelfm2/PKGBUILD b/extra/emelfm2/PKGBUILD
index b7a2cd806..9448a9d82 100644
--- a/extra/emelfm2/PKGBUILD
+++ b/extra/emelfm2/PKGBUILD
@@ -1,20 +1,23 @@
-# $Id: PKGBUILD 136106 2011-08-23 02:10:25Z kevin $
+# $Id: PKGBUILD 151556 2012-02-27 17:34:40Z giovanni $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: contrasutra
pkgname=emelfm2
pkgver=0.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="A file manager that implements the popular two-pane design"
arch=(i686 x86_64)
url="http://emelfm2.net/"
depends=('gtk2')
license=('GPL')
-source=(http://emelfm2.net/rel/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('8490d501e19009860f53ac6a98db74c1')
+source=("http://emelfm2.net/rel/${pkgname}-${pkgver}.tar.bz2"
+ 'emelfm2-0.8.0-dsofix.patch')
+md5sums=('8490d501e19009860f53ac6a98db74c1'
+ '0a6252eda0c3a98ba693148dfdd6ccba')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i "${srcdir}/emelfm2-0.8.0-dsofix.patch"
make PREFIX=/usr
make PREFIX=${pkgdir}/usr install
make PREFIX=${pkgdir}/usr install_i18n
diff --git a/extra/emelfm2/emelfm2-0.8.0-dsofix.patch b/extra/emelfm2/emelfm2-0.8.0-dsofix.patch
new file mode 100644
index 000000000..e9eb12405
--- /dev/null
+++ b/extra/emelfm2/emelfm2-0.8.0-dsofix.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2011-06-06 11:10:28.000000000 +0200
++++ b/Makefile 2012-02-27 18:20:11.000000000 +0100
+@@ -382,7 +382,7 @@
+
+ $(TARGET): $(OBJECTS)
+ @echo "linking binary '$(TARGET)'"
+- @$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -Wl,--as-needed $(lLIBS)
++ @$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -lm -ldl -Wl,--as-needed $(lLIBS)
+ ifeq ($(STRIP), 1)
+ ifneq ($(DEBUG), 1)
+ @echo "stripping binary '$(TARGET)'"