diff options
Diffstat (limited to 'extra/emelfm2')
-rw-r--r-- | extra/emelfm2/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/emelfm2/emelfm2-0.8.0-dsofix.patch | 11 |
2 files changed, 18 insertions, 4 deletions
diff --git a/extra/emelfm2/PKGBUILD b/extra/emelfm2/PKGBUILD index e3a78dd72..25e678531 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 'mips64el') 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)'" |